lib/maestrano/rails/routing/routes.rb in maestrano-rails-0.5.0 vs lib/maestrano/rails/routing/routes.rb in maestrano-rails-0.6.0
- old
+ new
@@ -1,16 +1,24 @@
module ActionDispatch::Routing
class Mapper
def maestrano_routes
namespace :maestrano do
+ scope module: :rails do
+ get '/metadata' => 'metadata#index'
+ end
+
+ namespace :rails do
+ get '/maestrano/metadata'
+ end
+
namespace :auth do
resources :saml, only:[] do
get 'init', on: :collection
post 'consume', on: :collection
end
end
- namespace :account_hook do
+ namespace :account do
resources :groups, only: [:destroy] do
resources :users, only: [:destroy], controller: 'group_users'
end
end
end
\ No newline at end of file