fixes for design

This commit is contained in:
2019-04-01 06:47:49 +02:00
parent c5860f338b
commit 2f741d5893
23 changed files with 294 additions and 601 deletions

View File

@@ -24,7 +24,8 @@ class Themengruppe < ActiveRecord::Base
translates :title,:text, :versioning =>true, :fallbacks_for_empty_translations => true
scope :intern,-> {where(:public=>false)}
# scope :public,-> {where(:public=>true)}
scope :not_intern, -> {where(:public=>true)}
# scope :public,-> {where(:public=>true)}
def self.find_wiki_default
where(:wiki_default=>true).first