diff --git a/app/models/team.rb b/app/models/team.rb index 12b7cefd8..dd1fa2464 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -41,8 +41,6 @@ class Team < ApplicationRecord attr_accessor :without_intro_demo after_create :generate_intro_demo - scope :without_templates, -> { includes(:projects).where("projects.template": nil) } - def default_view_state { 'projects' => { 'cards' => { 'sort' => 'new' },