lib/rails/mapper.rb in ponytail-0.2.0 vs lib/rails/mapper.rb in ponytail-0.3.0
- old
+ new
@@ -1,8 +1,8 @@
module ActionDispatch::Routing
class Mapper
def mount_ponytail
- resources :migrations, only: [:index, :new, :create], module: :ponytail, path: 'rails/migrations' do
+ resources :migrations, only: [:index, :new, :create, :destroy], module: :ponytail, path: 'rails/migrations' do
collection do
post :migrate
post :rollback
end
end