Sha256: 60b933e6dbc150ab49e2708beaaab25c5aac7f3f7fc6dc99025775bbefb6324e

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 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
          post :migrate
          post :rollback
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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