Skip to content

Commit

Permalink
fix rubocop style
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Dec 14, 2017
1 parent ef2bb97 commit 7801ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_scaffold/helpers/form_column_helpers.rb
Expand Up @@ -326,7 +326,7 @@ def active_scaffold_file_with_content(column, content, options, remove_file_pref

object_name, method = options[:name].split(/\[(#{column.name})\]/)
method.sub!(/#{column.name}/, "#{remove_file_prefix}\\0")
fields = block? ? block.call : ''
fields = block? ? yield : ''
input = file_field(:record, column.name, options.merge(:onchange => js_dont_remove_file_code))
content_tag(:div, class: controls_class) do
content_tag(:div) do
Expand Down

0 comments on commit 7801ffa

Please sign in to comment.