summaryrefslogtreecommitdiff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-16 13:52:45 +0200
committerValery Sizov <vsv2711@gmail.com>2015-03-16 13:52:55 +0200
commit09ef69b7c8e534cedff2ca1a42b58f534e349107 (patch)
treedcccbd830331c7c7558f57cae349f18ebd0b5e7c /app/models/concerns
parent9698b36c1cd0808adb006593c0e8649cb42f3571 (diff)
downloadgitlab-ce-09ef69b7c8e534cedff2ca1a42b58f534e349107.tar.gz
code folding fix
Diffstat (limited to 'app/models/concerns')
-rw-r--r--app/models/concerns/issuable.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb
index e89dcbf9acb..c74d9cb9917 100644
--- a/app/models/concerns/issuable.rb
+++ b/app/models/concerns/issuable.rb
@@ -134,9 +134,9 @@ module Issuable
end
def subscribe_status(user)
- sub = subscribes.find_by_user_id(user.id)
- if sub
- return sub.subscribed
+ subscribe = subscribes.find_by_user_id(user.id)
+ if subscribe
+ return subscribe.subscribed
end
participants.include?(user)