diff options
Diffstat (limited to 'app/decorators/models')
-rw-r--r-- | app/decorators/models/refinery/blog_category_decorator.rb | 15 | ||||
-rw-r--r-- | app/decorators/models/sidebar_post_decorator.rb | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/app/decorators/models/refinery/blog_category_decorator.rb b/app/decorators/models/refinery/blog_category_decorator.rb index 3c4cf08..b4d34a6 100644 --- a/app/decorators/models/refinery/blog_category_decorator.rb +++ b/app/decorators/models/refinery/blog_category_decorator.rb @@ -1,3 +1,18 @@ +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + Refinery::Blog::Category.class_eval do attr_accessible :sidebar_position, :sidebar_items end diff --git a/app/decorators/models/sidebar_post_decorator.rb b/app/decorators/models/sidebar_post_decorator.rb index 93353bb..a9a28b8 100644 --- a/app/decorators/models/sidebar_post_decorator.rb +++ b/app/decorators/models/sidebar_post_decorator.rb @@ -1,3 +1,18 @@ +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + require 'delegate' class SidebarPostDecorator < SimpleDelegator |