Permalink
Browse files

Repositories#index redirects to dashboard for now

  • Loading branch information...
1 parent 7f0f3a4 commit e5ac1a512ba4ee8072144b9576f8cdc4a56e25d3 @tsigo committed Mar 23, 2012
@@ -3,11 +3,8 @@ class RepositoriesController < ApplicationController
before_filter :authenticate_user!, only: [:index]
def index
-
- @repositories = current_user.repositories
-
respond_to do |wants|
- wants.html
+ wants.html { redirect_to root_path }
# TODO: Not final
wants.json { render json: @repositories.collect { |r| r.name } }
end
No changes.

0 comments on commit e5ac1a5

Please sign in to comment.