Prevent rails from adding error div in form helpers
This commit is contained in:
1 parent
e647aa257f
commit
61d1548b59
1 file changed
+4
@@ -36,6 +36,10 @@ module Scube
|
||||
|
||||
# config.assets.precompile += %w[]
|
||||
|
||||
config.action_view.field_error_proc = proc do |html_tag, instance|
|
||||
html_tag.html_safe
|
||||
end
|
||||
|
||||
config.sounds_path = Rails.env.test? ?
|
||||
File.join('data', Rails.env, 'sounds') :
|
||||
File.join('data', 'sounds')
|
||||
|
||||
Reference in new issue
Block a user