summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:55 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:55 +0000
commit393b964774564441672f692d4321a8cda4495254 (patch)
tree087e2df0a87b445fa5b7406db84b6d2a7bc44830
parenta21ab3eaf90e2c622100de074153efc2af76594a (diff)
downloadredmine-393b964774564441672f692d4321a8cda4495254.tar.gz
redmine-393b964774564441672f692d4321a8cda4495254.zip
remove spaces inside {} of lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20464 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb b/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
index eccd8d9ce..e9c5c1f1a 100644
--- a/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
+++ b/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
@@ -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