Ruby on Rails Sunday, November 2, 2014

On Sun, Nov 2, 2014 at 8:27 AM, Claudiu Clau <claudiu.garba@gmail.com> wrote:

> localhost:3000/posts/amazing-post
> I want to be: localhost/amazing-post/_post
> localhost:3000/cities/berlin
> I want to be: localhost:3000/berlin/_city

So if that's the desired result, what is the problem? You can manually
create whatever arbitrary URLs you like.

That said, I think you'll regret fighting Rails conventions this way :-)

Good luck!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yC2uw7i%3DLiGfwCvtdaO-K3aEf8EHELvfNYLuML26GdO1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment