config/routes.rb in ckeditor-3.4.3 vs config/routes.rb in ckeditor-3.5.0
- old
+ new
@@ -1,5 +1,6 @@
-ActionController::Routing::Routes.draw do |map|
- map.connect 'ckeditor/images', :controller => 'ckeditor', :action => 'images'
- map.connect 'ckeditor/files', :controller => 'ckeditor', :action => 'files'
- map.connect 'ckeditor/create/:kind', :controller => 'ckeditor', :action => 'create'
+Rails.application.routes.draw do
+ namespace :ckeditor do
+ resources :pictures, :only => [:index, :create, :destroy]
+ resources :attachments, :only => [:index, :create, :destroy]
+ end
end