Saturday, February 6, 2010

[Rails] Re: Route not working

Pål Bergström wrote:
> Craig White wrote:
>> On Sat, 2010-02-06 at 13:26 +0100, P�l Bergstr�m wrote:
>
>> when you say that you've added blog/admin, the route and mechanics are
>> unclear.
>
> You're right. A better way is to add a
> /controller/admin/blog_controller.rb. I think I'll do that instead. More
> in line with what I've done before. Thanks.

You missed Craig's point. There's nothing wrong with the name of your
controller; rather, Craig said (and I agree) that you didn't provide
enough information for us to help. Output from rake routes might be
helpful.

>
> I tried /controller/blog/admin/. It works locally. I thought my
> information was rather clear and hoped someone would say "aha, you're
> missing ...". I don't understand why it works locally but not on the
> remote server?

Are your routes files different?

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate