Commit 0a6e978d authored by Ciro Santilli's avatar Ciro Santilli

Fix hound.

parent 9b5c7a4d
......@@ -60,7 +60,7 @@ class ProjectsController < ApplicationController
@events = event_filter.apply_filter(@events)
@events = @events.limit(limit).offset(params[:offset] || 0)
@show_star = !(current_user and current_user.starred?(@project))
@show_star = !(current_user && current_user.starred?(@project))
respond_to do |format|
format.html do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment