Possible to create this redirecting route in Rails?
Posted
by Shpigford
on Stack Overflow
See other posts from Stack Overflow
or by Shpigford
Published on 2010-03-25T21:14:03Z
Indexed on
2010/03/25
21:43 UTC
Read the original article
Hit count: 325
Is it possible to do a redirect in the routes file of a Rails app?
Specifically, I'd like to forward /j/e
to /javascripts/embed.js
Right now the only way I can think to do it is to create a j
controller with an e
method that redirects to that.
© Stack Overflow or respective owner