Skip to content

Commit

Permalink
old token removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Knöpfle committed Jul 13, 2013
1 parent 7769fc3 commit c88fa03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/sidebar_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def index
index!
end
def collection
client = Octokit::Client.new(:login => "andreasknoepfle", :oauth_token => "7efadc02607bedb20e8d07b6820e7a9e4a73f6c1")
client = Octokit::Client.new(:login => Settings.apis.github.user, :oauth_token => Settings.apis.github.token)
client.user_events("andreasknoepfle")

end
Expand Down
4 changes: 3 additions & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
apis:
github: githubtoken
github:
token: githubtoken
user: username

0 comments on commit c88fa03

Please sign in to comment.