Forms edit content
This commit is contained in:
@@ -39,6 +39,10 @@ class FormsController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def setup
|
||||
@form = current_user.forms.find_by!(token: params[:id])
|
||||
end
|
||||
|
||||
def form
|
||||
@form = Form.find_by!(token: params[:id])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user