ADD: Informationsseite:

Models für Themengruppen/Themen/FAQs/Attachments
Views für Themengruppen/Themen
This commit is contained in:
HausdorffHimself
2013-08-13 18:31:22 +02:00
parent a2b35d3d60
commit e055b60a53
16 changed files with 101 additions and 62 deletions

View File

@@ -25,7 +25,7 @@ class ThemenController < ApplicationController
# GET /themen/new.json
def new
@thema = Thema.new
@thema.themengruppe = Themengruppe.find(params[:themengruppe_id]) unless params[:themengruppe_id].nil?
respond_to do |format|
format.html # new.html.erb
format.json { render json: @thema }