mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-02 09:54:37 +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
|
attr_accessor :without_intro_demo
|
||||||
after_create :generate_intro_demo
|
after_create :generate_intro_demo
|
||||||
|
|
||||||
scope :without_templates, -> { includes(:projects).where("projects.template": nil) }
|
|
||||||
|
|
||||||
def default_view_state
|
def default_view_state
|
||||||
{ 'projects' =>
|
{ 'projects' =>
|
||||||
{ 'cards' => { 'sort' => 'new' },
|
{ 'cards' => { 'sort' => 'new' },
|
||||||
|
|
Loading…
Add table
Reference in a new issue