config/routes.rb in ckeditor-3.4.0.pre vs config/routes.rb in ckeditor-3.4.0
- 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