]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of lib/generators/redmine_plugin_model/redmine_plugin_model_g...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Nov 2020 13:52:55 +0000 (13:52 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Nov 2020 13:52:55 +0000 (13:52 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20464 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb

index eccd8d9ce55a1b0468992154242dee1ca7f3f19c..e9c5c1f1a79789c9a8bbdeb36789408f95673206 100644 (file)
@@ -51,7 +51,7 @@ class RedminePluginModelGenerator < Rails::Generators::NamedBase
   private
 
   def attributes_with_index
-    attributes.select { |a| a.has_index? || (a.reference? && options[:indexes]) }
+    attributes.select {|a| a.has_index? || (a.reference? && options[:indexes])}
   end
 
   def migration_number