Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use Ruby 1.9 syntax

  • Loading branch information...
commit e208ad925a5e3321bc0052cbd7ef0b29de136164 1 parent 2901346
@rafaelfranca rafaelfranca authored carlosantoniodasilva committed
View
4 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]
Please sign in to comment.
Something went wrong with that request. Please try again.