config/routes.rb in effective_datatables-1.6.3 vs config/routes.rb in effective_datatables-1.7.0
- old
+ new
@@ -2,10 +2,8 @@
mount EffectiveDatatables::Engine => '/', :as => 'effective_datatables'
end
EffectiveDatatables::Engine.routes.draw do
scope :module => 'effective' do
- resources :datatables, :only => [:show]
+ match 'datatables/:id(.:format)', to: 'datatables#show', via: [:get, :post], as: :datatable
end
end
-
-