Update app/models/tab.rb

Bug fix for project relevant view