Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 575 Bytes
Refinery::Core::Engine.routes.append do
match '/system/videos/*dragonfly', :to => Dragonfly[:refinery_videos]
# Frontend routes
namespace :videos do
resources :videos, :path => '', :only => [:index, :show]
end
# Admin routes
namespace :videos, :path => '' do
namespace :admin, :path => 'refinery' do
resources :videos do
post :append_to_wym
collection do
post :update_positions
get :insert
get :dialog_preview
end
end
resources :video_files, :only => [:destroy]
end
end
end
Something went wrong with that request. Please try again.