def build_url_for(project)
  case project
  when String
    "/builds/#{project}"
  when Juicy::Build
    "/builds/#{project.name}"
  end
end

def build_url_for(project)
  case project
  when String
    "/builds/#{project}"
  when ::Juicy::Project
    "/builds/#{project.name}"
  end
end

Fix incorrect type detection in helper
Fix incorrect type detection in helper
