Ruby on Rails Tuesday, June 29, 2010

I've already read this, and still don't understand.

Would I need something like this?

rewrite %r{/tutorials/(\w+)categories/(\w+)}, '/categories/
CategoryPermalinkHere/tutorials/TutorialPermalinkHere'
rewrite %r{/tutorials/(\w+)}, '/categories/CategoryPermalinkHere/
tutorials/TutorialPermalinkHere'


Please Help,

I've looked everywhere but just can't figure it out.

Thanks In Advance,

-Joe

Hassan Schroeder wrote:
> On Mon, Jun 28, 2010 at 12:43 PM, <youtube@dev-hq.co.uk> wrote:
>
> > So I guess ill want something like
>
> Why guess? That's what docs are for --
>
> <http://github.com/jtrupiano/rack-rewrite/blob/master/README.rdoc>
>
> There's this thing called 'Der Google', see... :-)
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> twitter: @hassan

--
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.

No comments:

Post a Comment