class ActionDispatch::Routing::Mapper

Public Instance Methods

mount_ponytail() click to toggle source
# 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