diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-05-10 22:00:06 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-05-10 22:00:06 +0530 |
commit | 9870afb37b19a8bc61d54ecf274c09ead86c44ce (patch) | |
tree | d61b965fb22264167f600e1e2ef11c0786b2354b /railties | |
parent | 8e55afb453beb8f98d647ae97619101b19b7f911 (diff) | |
download | rails-9870afb37b19a8bc61d54ecf274c09ead86c44ce.tar.gz rails-9870afb37b19a8bc61d54ecf274c09ead86c44ce.tar.bz2 rails-9870afb37b19a8bc61d54ecf274c09ead86c44ce.zip |
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 |