Update abilities for ckeditor4 images
Add the image controller to use the obsolete load_and_authorize_resource and authorize_resource methods in the gem
This commit is contained in:
committed by
Javi Martín
parent
424535c1ae
commit
8e68f4bbd0
@@ -1,5 +1,6 @@
|
||||
Rails.application.routes.draw do
|
||||
|
||||
mount Ckeditor::Engine => '/ckeditor'
|
||||
if Rails.env.development? || Rails.env.staging?
|
||||
get '/sandbox' => 'sandbox#index'
|
||||
get '/sandbox/*template' => 'sandbox#show'
|
||||
|
||||
Reference in New Issue
Block a user