public
Created

snippet 1.4

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
create app/controllers/pages_controller.rb
route get "pages/destroy"
route get "pages/create"
route get "pages/new"
route get "pages/index"
invoke erb
create app/views/pages
create app/views/pages/index.html.erb
create app/views/pages/new.html.erb
create app/views/pages/create.html.erb
create app/views/pages/destroy.html.erb
invoke test_unit
create test/functional/pages_controller_test.rb
invoke helper
create app/helpers/pages_helper.rb
invoke test_unit
create test/unit/helpers/pages_helper_test.rb
invoke assets
invoke coffee
create app/assets/javascripts/pages.js.coffee
invoke scss
create app/assets/stylesheets/pages.css.scss

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.