Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/ponytail/routing/mapper.rb

Instance Method Summary collapse

Instance Method Details

#mount_ponytailObject



3
4
5
6
7
8
# File 'lib/ponytail/routing/mapper.rb', line 3

def mount_ponytail
  namespace :ponytail do
    resources :migrations, only: [:index, :new, :create, :destroy]
    resource :schema, only: [:show, :update]
  end
end