Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
snippet 1.4
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.