提交 0979a7e6 编写于 作者: S Santiago Pastorino

Merge pull request #491 from arunagw/readme_changes

Some readme fixes as required. 
......@@ -157,5 +157,5 @@ API documentation is at
Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:
* https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets
* https://github.com/rails/rails/issues
......@@ -338,4 +338,4 @@ API documentation is at
Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:
* https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets
* https://github.com/rails/rails/issues
......@@ -219,4 +219,4 @@ API documentation is at
Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:
* https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets
* https://github.com/rails/rails/issues
......@@ -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?
......
......@@ -6,8 +6,8 @@ class ScaffoldGenerator < ResourceGenerator #metagenerator
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册