Experiment with a simple form builder
This commit is contained in:
1 parent
d485b1e62e
commit
fd9eddedfc
3 files changed
+13
-27
No files matched your search
@@ -25,10 +25,8 @@ class FormsController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
if Rails.env.development?
|
||||
def form
|
||||
@form = Form.find_by!(token: params[:id])
|
||||
end
|
||||
def form
|
||||
@form = Form.find_by!(token: params[:id])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user