Experiment with a simple form builder

This commit is contained in:
bumi committed 2020-04-09 14:15:19 +02:00
1 parent d485b1e62e
commit fd9eddedfc
3 files changed
+13 -27

No files matched your search

+2 -4
View File
@@ -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