Skip to content

Commit

Permalink
Don't output when revoking
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Dec 30, 2010
1 parent 1fb8833 commit c318a2c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/generators/refinerycms_news_generator.rb
Expand Up @@ -15,10 +15,12 @@ def generate
template('db/migrate/migration_number_create_singular_name.rb',
Rails.root.join("db/migrate/#{next_migration_number}_create_#{singular_name}.rb"))

puts "------------------------"
puts "Now run:"
puts "rake db:migrate"
puts "------------------------"
unless self.behavior == :revoke
puts "------------------------"
puts "Now run:"
puts "rake db:migrate"
puts "------------------------"
end
end
end

Expand Down

0 comments on commit c318a2c

Please sign in to comment.