Changes after review

Remove empty line
This commit is contained in:
Filipa Lacerda 2016-12-14 15:04:26 +00:00
parent 268a201cce
commit 281237d773
2 changed files with 1 additions and 8 deletions

View File

@ -1,10 +1,4 @@
class Ability
module Allowable
def can?(user, action, subject)
Ability.allowed?(user, action, subject)
end
end
class << self
# Given a list of users and a project this method returns the users that can
# read the given project.

View File

@ -5,8 +5,7 @@
- klass = "ci-status-icon ci-status-icon-#{detailed_status}"
- if details_path
= link_to details_path, class: klass,
data: { toggle: 'tooltip', title: "#{subject.name} - #{detailed_status}" } do
= link_to details_path, data: { toggle: 'tooltip', title: "#{subject.name} - #{detailed_status}" } do
%span{ class: klass }= custom_icon(detailed_status.icon)
.ci-status-text= subject.name
- else