In Ruby on Rails routing (using route.rb), can it say, for any URL
having the form:
www.example.com/ ... #! ...
then use controller `redirect` ?
This is so that in AJAX, some page can tag the `#!` at the end of URL so
that the real content of interest is the part after the `#!`
--
Posted
Site_url = www.example.com
redirected_to #{site_url}
or directly in routes.rb can work a bit you have to google
On Sat, Jun 26, 2010 at 4:52 PM, Jian Lin li...@ruby-forum.com wrote:
In Ruby on Rails routing (using route.rb), can it say, for any URL
having the form:
www.example.com/ ...
2 matches
Mail list logo