Showing survey for users and handling authorization
This commit is contained in:
parent
9ce4ba6f6b
commit
67bccf0195
6 changed files with 44 additions and 6 deletions
13
app/controllers/survey_controller.rb
Normal file
13
app/controllers/survey_controller.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class SurveyController < ApplicationController
|
||||
load_resource :conference, find_by: :short_title
|
||||
load_and_authorize_resource
|
||||
|
||||
def show
|
||||
|
||||
end
|
||||
|
||||
def reply
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue