lib/padrino-gen/padrino-tasks/mongomapper.rb in padrino-gen-0.9.9 vs lib/padrino-gen/padrino-tasks/mongomapper.rb in padrino-gen-0.9.10

- old
+ new

@@ -1,7 +1,7 @@ if defined?(MongoMapper) namespace :mm do - desc "Generates .yml files for I18n translations." + desc "Generates .yml files for I18n translations" task :translate => :environment do models = Dir["#{Padrino.root}/app/models/**/*.rb"].collect { |m| File.basename(m, ".rb") } models.each do |m| # Get the model class \ No newline at end of file