This commit is contained in:
Andreas Stephanides
2014-03-16 15:28:22 +01:00
parent 94778f0fa7
commit cbec643b96
5 changed files with 24 additions and 1 deletions

View File

@@ -12,6 +12,10 @@ class ThemengruppenController < ApplicationController
format.json { render json: @themengruppen }
end
end
def faqs
@themengruppen = Themengruppe.order(:priority).includes(:themen,{themen: :fragen})
end
# GET /themengruppen/1
# GET /themengruppen/1.json