Skip to content

Commit

Permalink
Login screen is broken when authentication is required as ajax calls …
Browse files Browse the repository at this point in the history
…returns a redirect if user is not logged in
  • Loading branch information
fgrehm committed Mar 17, 2010
1 parent b92a050 commit 822b573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init.rb
Expand Up @@ -15,7 +15,8 @@
:caption => '',
:html => { :id => 'time-tracker-menu' },
:first => true,
:param => :project_id
:param => :project_id,
:if => Proc.new { User.current.logged? }
}
end

0 comments on commit 822b573

Please sign in to comment.