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
Post a Comment