Sebastian wrote:
> Hi everyone!
> Im having troubles with my routes.rb, i set map.namespace :admin so i
> can enter to my scaffold 'contacts' via admin/contacts', but the view
> its crashing showing this error:; *undefined method `contact_path' for
> #*
>
> The question is: 'where is *contact_path
I'm going to start using Netbeans, I'm using vim right now for my new
experience with ror. That can solve my undeclared variable problem.
So I can say the main problem is trying to call a controller via
'admin/:controller'. I can see that map.resources it's not the
answer... Correct me if I am wron
The problem is it isn't declared, but somewhere something is trying to
use it.
The scaffold can be nice as a quickstart, but as you're trying to do
something new you're going to have to make changes to the views (and
the controllers too if they use named routes instead of :action
=> :whatever redi
3 matches
Mail list logo