ruby on rails 3.2 - RefineryCMS + Extend the routes for image upload custom methods -


in refinery-cms application, have added 1 custom method image upload.

no issue when define routes in gemfile code, works.

but not getting way extend routes present in application custom method.

use

spree::core::engine.routes.prepend 

match 'url' => 'controller_with_scope#action_name', :as => :action_name

end

this load ur custom routes before application


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -