aboutsummaryrefslogtreecommitdiffstats
path: root/app/decorators
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-06-17 20:08:13 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-06-17 20:08:13 +0200
commit45fea420bddcf9d370b681b766a622da6f11eb38 (patch)
treecdc16b4532e97037d304ba3e67b31e0213a6492d /app/decorators
parent28a384eea2793d741fde1fe338c16ca2c197c2fa (diff)
downloadhmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.tar.gz
hmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.tar.bz2
hmnoweb-45fea420bddcf9d370b681b766a622da6f11eb38.zip
Add license header to files.
Diffstat (limited to 'app/decorators')
-rw-r--r--app/decorators/controllers/refinery/pages_controller_decorator.rb15
-rw-r--r--app/decorators/models/refinery/blog_category_decorator.rb15
-rw-r--r--app/decorators/models/sidebar_post_decorator.rb15
3 files changed, 45 insertions, 0 deletions
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 <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/>.
+
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 <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