Skip to content
This repository
Browse code

Use Ruby 1.9 syntax

  • Loading branch information...
commit 8e0d43bc500f751d72a3f65caafa9fec2f2bda96 1 parent d093f84
Rafael Mendonça França authored May 04, 2013
4  railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
@@ -8,8 +8,8 @@ class ScaffoldGenerator < ResourceGenerator # :nodoc:
8 8
 
9 9
       class_option :stylesheets, type: :boolean, desc: "Generate Stylesheets"
10 10
       class_option :stylesheet_engine, desc: "Engine for Stylesheets"
11  
-      class_option :assets, :type => :boolean
12  
-      class_option :resource_route, :type => :boolean
  11
+      class_option :assets, type: :boolean
  12
+      class_option :resource_route, type: :boolean
13 13
 
14 14
       def handle_skip
15 15
         @options = @options.merge(stylesheets: false) unless options[:assets]

0 notes on commit 8e0d43b

Please sign in to comment.
Something went wrong with that request. Please try again.