Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/rails/ext/routes.rb

Instance Method Summary collapse

Instance Method Details

#mount_rails_infoObject



4
5
6
7
8
9
10
# File 'lib/rails/ext/routes.rb', line 4

def mount_rails_info
  namespace :rails do
    resources :generators, only: [:index]
    resources :routes, only: [:index]
    resources :tasks, only: [:index]
  end
end