diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-05-11 17:01:36 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-05-11 17:01:36 -0700 |
commit | 0979a7e6805e51e981ba333255c6a49386bf91bf (patch) | |
tree | 4b68978b9eec27b1daa4083761fd9b0c07ba7b01 /railties | |
parent | b89f269957e8e0e587d855dd5db49a2f23bc9e02 (diff) | |
parent | 9870afb37b19a8bc61d54ecf274c09ead86c44ce (diff) | |
download | rails-0979a7e6805e51e981ba333255c6a49386bf91bf.tar.gz rails-0979a7e6805e51e981ba333255c6a49386bf91bf.tar.bz2 rails-0979a7e6805e51e981ba333255c6a49386bf91bf.zip |
Merge pull request #491 from arunagw/readme_changes
Some readme fixes as required.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/assets/assets_generator.rb | 4 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/assets/assets_generator.rb b/railties/lib/rails/generators/rails/assets/assets_generator.rb index fb215f91af..2d52da77eb 100644 --- a/railties/lib/rails/generators/rails/assets/assets_generator.rb +++ b/railties/lib/rails/generators/rails/assets/assets_generator.rb @@ -2,10 +2,10 @@ module Rails module Generators class AssetsGenerator < NamedBase class_option :javascripts, :type => :boolean, :desc => "Generate JavaScripts" - class_option :stylesheets, :type => :boolean, :desc => "Generate stylesheets" + class_option :stylesheets, :type => :boolean, :desc => "Generate Stylesheets" class_option :javascript_engine, :desc => "Engine for JavaScripts" - class_option :stylesheet_engine, :desc => "Engine for stylesheets" + class_option :stylesheet_engine, :desc => "Engine for Stylesheets" def create_javascript_files return unless options.javascripts? diff --git a/railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb b/railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb index 6eef0dbe5b..aa9b45c5a5 100644 --- a/railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb +++ b/railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb @@ -6,8 +6,8 @@ module Rails remove_hook_for :resource_controller remove_class_option :actions - class_option :stylesheets, :type => :boolean, :desc => "Generate stylesheets" - class_option :stylesheet_engine, :desc => "Engine for stylesheets" + class_option :stylesheets, :type => :boolean, :desc => "Generate Stylesheets" + class_option :stylesheet_engine, :desc => "Engine for Stylesheets" hook_for :scaffold_controller, :required => true |