Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
add action for deleting user
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Feb 14, 2012
1 parent b469453 commit 0c8aac7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/chat_gram/app.rb
Expand Up @@ -43,6 +43,11 @@ module Views
redirect "/users"
end

delete '/users/:username' do
settings.model.remove params[:username]
'ok'
end

# This is the endpoint to provide start the OAuth authorization process.
#
# See http://instagram.com/developer/auth/
Expand Down

0 comments on commit 0c8aac7

Please sign in to comment.