work in progress, admin page for upgrades (provides source lives in git)

This commit is contained in:
Sam
2013-11-12 16:42:35 +11:00
parent 3473734af0
commit 932c2675a7
6 changed files with 122 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Discourse::Application.routes.draw do
namespace :admin, constraints: StaffConstraint.new do
get '' => 'admin#index'
resources :site_settings, constraints: AdminConstraint.new
get 'reports/:type' => 'reports#show'
@ -96,7 +97,10 @@ Discourse::Application.routes.draw do
delete 'key' => 'api#revoke_key'
end
end
end
get 'upgrade' => 'upgrade#index'
end # admin namespace
get 'email_preferences' => 'email#preferences_redirect', :as => 'email_preferences_redirect'
get 'email/unsubscribe/:key' => 'email#unsubscribe', as: 'email_unsubscribe'