Latest state
This commit is contained in:
parent
933e14673c
commit
ed087352e2
10 changed files with 119 additions and 45 deletions
|
|
@ -1,12 +0,0 @@
|
|||
class SurveyController < ApplicationController
|
||||
load_resource :conference, find_by: :short_title
|
||||
load_and_authorize_resource
|
||||
|
||||
def show
|
||||
@survey_submission = @survey.survey_submissions.new
|
||||
end
|
||||
|
||||
def reply
|
||||
end
|
||||
|
||||
end
|
||||
21
app/controllers/survey_submissions_controller.rb
Normal file
21
app/controllers/survey_submissions_controller.rb
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
class SurveySubmissionsController < ApplicationController
|
||||
load_resource :conference, find_by: :short_title
|
||||
load_resource :survey
|
||||
load_and_authorize_resource
|
||||
# skip_before_filter :verify_authenticity_token
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
|
||||
def show
|
||||
end
|
||||
end
|
||||
26
app/controllers/surveys_controller.rb
Normal file
26
app/controllers/surveys_controller.rb
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
class SurveysController < ApplicationController
|
||||
load_resource :conference, find_by: :short_title
|
||||
load_and_authorize_resource
|
||||
# skip_before_filter :verify_authenticity_token
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
|
||||
def show
|
||||
@survey_submission = @survey.survey_submissions.new
|
||||
end
|
||||
|
||||
def reply
|
||||
redirect_to :back
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue