Skip to content

Commit

Permalink
Merge pull request #258 from amatsuda/rails5
Browse files Browse the repository at this point in the history
Why don't we generate jbuilder templates for Rails 5?
  • Loading branch information
rwz committed Mar 7, 2015
2 parents 80ae387 + d10a940 commit 31128ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jbuilder/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Railtie < ::Rails::Railtie
end
end

if Rails::VERSION::MAJOR == 4
if Rails::VERSION::MAJOR >= 4
generators do |app|
Rails::Generators.configure! app.config.generators
Rails::Generators.hidden_namespaces.uniq!
Expand Down

0 comments on commit 31128ec

Please sign in to comment.