From 2ba040980f57975d67618fd9a9f306ed5a6a15cc Mon Sep 17 00:00:00 2001 From: Miha Mencin Date: Fri, 1 Mar 2019 17:48:38 +0100 Subject: [PATCH] reverting the team changes, the scope is not needed --- app/models/team.rb | 2 -- 1 file changed, 2 deletions(-) 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' },