Permalink
Browse files

Use Ruby 1.9 syntax

  • Loading branch information...
1 parent d093f84 commit 8e0d43bc500f751d72a3f65caafa9fec2f2bda96 @rafaelfranca rafaelfranca committed May 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
@@ -8,8 +8,8 @@ class ScaffoldGenerator < ResourceGenerator # :nodoc:
class_option :stylesheets, type: :boolean, desc: "Generate Stylesheets"
class_option :stylesheet_engine, desc: "Engine for Stylesheets"
- class_option :assets, :type => :boolean
- class_option :resource_route, :type => :boolean
+ class_option :assets, type: :boolean
+ class_option :resource_route, type: :boolean
def handle_skip
@options = @options.merge(stylesheets: false) unless options[:assets]

0 comments on commit 8e0d43b

Please sign in to comment.