lib/generators/spleen/install_generator.rb in spleen-0.0.1 vs lib/generators/spleen/install_generator.rb in spleen-0.0.2
- old
+ new
@@ -9,10 +9,10 @@
desc "Copy model and locale files to your application and generate migration."
class_option :orm
def copy_locale
- copy_file "../../../../config/locales/en.yml", "config/locales/ratings.en.yml"
+ copy_file "locales.en.yml", "config/locales/ratings.en.yml"
end
def copy_model
template "model.rb", "app/models/rating.rb"
end