Forms edit content
This commit is contained in:
1 parent
d733468abe
commit
8fb3fb7175
12 files changed
+201
-17
No files matched your search
@@ -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