Created
May 5, 2010 13:16
-
-
Save tubbo/390748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This will be the GitHub interface for tracking my programming projects and recent | |
| # GitHub activity. | |
| # | |
| # GET /code | |
| # GET /code.atom | |
| def code | |
| @title = 'dev dev revolution' | |
| @user = GitHub::User.find('tubbo') # get my profile information | |
| # if we're authenticated properly, get repos and activity | |
| authenticated_with :login => Settings.com.github.login, :token => Settings.com.github.token do | |
| @repos = @user.repositories | |
| #@timeline = @user.repositories.commits | |
| respond_to do |format| | |
| format.html # code.html.erb | |
| format.atom redirect_to 'http://github.com/tubbo.atom' | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment