Skip to content

Commit

Permalink
Merge pull request #31 from AmenZhou/29_revise_epoch_branch_name
Browse files Browse the repository at this point in the history
#29 fix epoch branch name not matching
  • Loading branch information
AmenZhou committed Feb 16, 2016
2 parents 27b4ad0 + 3381e94 commit 4cf94c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ def is_admin?
end

def is_nj?
epoch_branch.name == 'NJ'
epoch_branch.name == 'New Jersey' || epoch_branch.name == "NJ"
end

def is_ny?
epoch_branch.name == 'NY'
epoch_branch.name == 'New York' || epoch_branch.name == "NY"
end
end

0 comments on commit 4cf94c1

Please sign in to comment.