mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-04 14:10:27 +08:00
reverting the team changes, the scope is not needed
This commit is contained in:
parent
844303ae7c
commit
2ba040980f
1 changed files with 0 additions and 2 deletions
|
@ -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' },
|
||||
|
|
Loading…
Reference in a new issue