Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: dd63491b1e
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (17 sloc) 0.46 kb
::Refinery::Application.routes.draw do
resources :registrations, :only => [:index, :create]
scope(:path => 'refinery', :as => 'admin', :module => 'admin') do
resources :registrations, :only => [:index, :show, :destroy, :accept, :reject] do
collection do
get :spam
get :approved
get :rejected
end
member do
get :toggle_spam
get :approved
get :rejected
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.