4 ms·
You can do it easily in Rails without a redirect too, and without regex as used in Django. In routes.rb for example: map.login '/login.php', :controller => 'se
by bryanwoods 18y ago
You can do it easily in Rails without a redirect too, and without regex as used in Django.
In routes.rb for example:
map.login '/login.php', :controller => 'sessions', :action => 'new'
But I suppose that wouldn't make for a very funny April Fool's joke.