config/routes.rb in ckeditor-3.2.4 vs config/routes.rb in ckeditor-3.3.2
- old
+ new
@@ -1,5 +1,5 @@
-Rails.application.routes.draw do |map|
- match 'ckeditor/images', :to => 'ckeditor#images'
- match 'ckeditor/files', :to => 'ckeditor#files'
- match 'ckeditor/create/:kind', :to => 'ckeditor#create'
+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'
end