Sha256: 93b6d0d176557b4f57224b9c7df890f80f90ab5e6d8df82af3013418796e08da
Contents?: true
Size: 257 Bytes
Versions: 4
Compression:
Stored size: 257 Bytes
Contents
generate(:controller, "home index") create_file 'app/views/home/index.html.haml' do <<-FILE %h1 #{app_name.humanize} FILE end inject_into_file 'config/routes.rb', :after => "# root :to => \"welcome#index\"\n" do <<-RUBY root :to => "home#index" RUBY end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
prologue-0.2.0 | templates/home_controller.rb |
prologue-0.1.2 | templates/home_controller.rb |
prologue-0.1.1 | templates/home_controller.rb |
prologue-0.1.0 | templates/home_controller.rb |