hi guys, sorry to trouble you all but i really dont understand how this
routing thing work… it seems easy but it just dont work for me!
here’s the situation :
i wanna do something like this so i went to the routes.rb and type this:
ActionController::Routing::Routes.draw do |map|
map.connect “burninglegion/:controller/:action/:id” #i typed this
map.connect ‘:controller/service.wsdl’, :action => ‘wsdl’
ok when i typed the initial url
http://127.0.0.1:3001/burninglegion/admin/login, it would display the
page but when it logged in, it changed to
which missed the constant name… is wat i do correct???
some i got like 3 controllers and i hope that it would apply to everyone
of them…is that possible???