mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
a21ab3eaf9
commit
393b964774
@ -51,7 +51,7 @@ class RedminePluginModelGenerator < Rails::Generators::NamedBase
|
|||||||
private
|
private
|
||||||
|
|
||||||
def attributes_with_index
|
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
|
end
|
||||||
|
|
||||||
def migration_number
|
def migration_number
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user