From 45fea420bddcf9d370b681b766a622da6f11eb38 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 17 Jun 2018 20:08:13 +0200 Subject: Add license header to files. --- .../controllers/refinery/pages_controller_decorator.rb | 15 +++++++++++++++ app/decorators/models/refinery/blog_category_decorator.rb | 15 +++++++++++++++ app/decorators/models/sidebar_post_decorator.rb | 15 +++++++++++++++ 3 files changed, 45 insertions(+) (limited to 'app/decorators') diff --git a/app/decorators/controllers/refinery/pages_controller_decorator.rb b/app/decorators/controllers/refinery/pages_controller_decorator.rb index 77a9434..6754fe4 100644 --- a/app/decorators/controllers/refinery/pages_controller_decorator.rb +++ b/app/decorators/controllers/refinery/pages_controller_decorator.rb @@ -1,3 +1,18 @@ +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# 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 . + ApplicationController.class_eval do include Refinery::Blog::ControllerHelper 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 +# +# 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 . + 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 +# +# 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 . + require 'delegate' class SidebarPostDecorator < SimpleDelegator -- cgit v1.2.3