Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (38 sloc) 1.02 KB
Errbit::Application.routes.draw do
devise_for :users, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }
# Hoptoad Notifier Routes
match '/notifier_api/v2/notices' => 'notices#create'
match '/locate/:id' => 'notices#locate', :as => :locate
match '/deploys.txt' => 'deploys#create'
resources :notices, :only => [:show]
resources :deploys, :only => [:show]
resources :users do
member do
delete :unlink_github
end
end
resources :errs, :only => [:index] do
collection do
post :destroy_several
post :resolve_several
post :unresolve_several
post :merge_several
post :unmerge_several
get :all
end
end
resources :apps do
resources :errs do
resources :notices
resources :comments, :only => [:create, :destroy]
member do
put :resolve
put :unresolve
post :create_issue
delete :unlink_issue
end
end
resources :deploys, :only => [:index]
end
root :to => 'apps#index'
end
Jump to Line
Something went wrong with that request. Please try again.