added delete all posts button

wired up the ability to enable all themes
This commit is contained in:
Sam Saffron
2013-02-07 18:11:56 +11:00
parent 8f4417f962
commit 85973ce6b0
13 changed files with 93 additions and 17 deletions

View File

@@ -369,6 +369,7 @@ en:
ban_failed: "Something went wrong banning this user {{error}}"
unban_failed: "Something went wrong unbanning this user {{error}}"
ban_duration: "How long would you like to ban the user for? (days)"
delete_all_posts: "Delete all posts"
ban: "Ban"
unban: "Unban"
banned: "Banned?"

View File

@@ -30,6 +30,7 @@ Discourse::Application.routes.draw do
put 'approve-bulk' => 'users#approve_bulk'
end
put 'ban' => 'users#ban'
put 'delete_all_posts' => 'users#delete_all_posts'
put 'unban' => 'users#unban'
put 'revoke_admin' => 'users#revoke_admin'
put 'grant_admin' => 'users#grant_admin'