Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- how do i go about debugging this?
- **Routing Error**
- No route matches [GET] "/"
- <% @snippet.each do |snippet| %>
- <h2><%= snippet.title %></h2>
- <%end%>
- Josegomez::Application.routes.draw do
- resources :snippets
- Jose-Gomezs-MacBook-Pro:josegomez josegomez$ rake routes
- snippets GET /snippets(.:format) snippets#index
- POST /snippets(.:format) snippets#create
- new_snippet GET /snippets/new(.:format) snippets#new
- edit_snippet GET /snippets/:id/edit(.:format) snippets#edit
- snippet GET /snippets/:id(.:format) snippets#show
- PUT /snippets/:id(.:format) snippets#update
- DELETE /snippets/:id(.:format) snippets#destroy
- root :to => 'snippets#index'
Advertisement
Add Comment
Please, Sign In to add comment