Skip to content

Instantly share code, notes, and snippets.

@tacettin
Created January 3, 2014 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tacettin/8238900 to your computer and use it in GitHub Desktop.
Save tacettin/8238900 to your computer and use it in GitHub Desktop.
Url Routing, custom action rails 4.0.2
RailsApp::Application.routes.draw do
devise_for :members
mount RailsAdmin::Engine => '/manage', :as => 'rails_admin'
match ':controller(/:action(/:id(.:format)))',via: :get
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment