Skip to content

Commit

Permalink
Fix bug in mobile projects view
Browse files Browse the repository at this point in the history
  • Loading branch information
epall committed Mar 1, 2011
1 parent a1aedfb commit e5f30a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/projects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ def render_projects_html

def render_projects_mobile
lambda do
@active_projects = @projects.active
@hidden_projects = @projects.hidden
@completed_projects = @projects.completed
@active_projects = current_user.projects.active
@hidden_projects = current_user.projects.hidden
@completed_projects = current_user.projects.completed
@down_count = @active_projects.size + @hidden_projects.size + @completed_projects.size
cookies[:mobile_url]= {:value => request.request_uri, :secure => SITE_CONFIG['secure_cookies']}
render :action => 'index_mobile'
Expand Down

0 comments on commit e5f30a5

Please sign in to comment.