Ruby on Rails Sunday, October 15, 2017

On Sun, Oct 15, 2017 at 6:39 AM, Ben Edwards <login@funkytwig.com> wrote:

> I came across something years ago (I think in PHP) where URLs got unpacked
> into varables in the background. So
> https://eventpuddle.com/price/cheapevents was mapped in the background and
> created a varable price with a value cheapevents.

At the top of config/routes.rb --

# For details on the DSL available within this file, see
http://guides.rubyonrails.org/routing.html

HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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/CACmC4yA6ZHdB9-P8BKxBsq7hvp7Vqm1V4z_mJ0jN0EH40e2_mw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment