use that looks incorrect the restful actions are actions like
show
index
create
etc etc
On Feb 7, 6:07 am, edward michaels wrote:
> Thanks, you don't declare the restful routes in your controller
> though, right? The error that I'm getting specifies that there is no
> 'show' action like this:
>
On Tue, Feb 7, 2012 at 3:07 PM, edward michaels wrote:
> Thanks, you don't declare the restful routes in your controller
> though, right?
In the case I showed, I _do_ declare the default RESTful
routes in the config/routes.rb (they are set there by the
rails generator):
$ cat config/routes.rb
Thanks, you don't declare the restful routes in your controller
though, right? The error that I'm getting specifies that there is no
'show' action like this:
ActionController::RoutingError:
No route matches {:controller=>"users", :action=>"users/1"}
So it's looking for a 'users/1'
3 matches
Mail list logo