Skip to content

Instantly share code, notes, and snippets.

@workmad3
Created September 20, 2011 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save workmad3/1228805 to your computer and use it in GitHub Desktop.
Save workmad3/1228805 to your computer and use it in GitHub Desktop.
module ActionDispatch::Routing
class Mapper
def your_routing
#define your routes here. You can use all the normal route DSL stuff
end
end
end
@bsodmike
Copy link

Hi mate! See this blog post covering engine namespacing - it's pretty clear on the purpose. I'm going for a shared engine approach so not namespacing is fine but of course this means I have to name my controllers (etc.) with rather unique names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment