match '/submit_expense/:id' => 'expenses#submit_expense', :as => 'submit_expense'
How would I direct this to my :admin namespace? Do I have to define the match inside the namespace declaration?
You can just use / like when you use the controller generator:
match '/submit_expense/:id' => 'admin/expenses#submit_expense', :as => 'submit_expense'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With