I am testing an engine which normally is mounted at /
NotifyMe::Application.routes.draw do> mount_opro_oauth :controllers => {:oauth_client_apps =>
> ''oauth/client_apps''}
I am trying to mount it inside my existing backoffice namespace, is it
possible or not advisable
namespace :backoffice do> match ''/'', to: ''dashboards#show''
> resource :dashboards, :only => :show
mounting it at root give me urls like :
> http://localhost:3000/oauth_client_apps
but as it''s a backoffice process, I would like to have urls like:
> http://localhost:3000/backoffice/oauth_client_apps
I tried to move the mount line inside the namespace, but then I got issues
with the engine routes...
I thought /backoffice would have been added automatically
thanks for your feedback
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/a95UiZry7m0J.
For more options, visit https://groups.google.com/groups/opt_out.