Sha256: e58d520f5de4a3d5ebf7238b0fceff0a0f9fb437504de43fe48ce1b458410c29

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    def mount_ponytail
      resources :migrations, only: [:index, :new, :create, :destroy], module: :ponytail, path: 'rails/migrations' do
        collection do
          get :migrate
          get :rollback
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ponytail-0.4.0 lib/rails/mapper.rb