Experiment with a simple form builder
This commit is contained in:
@@ -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