From 918c30bc1353d93c5c989fe0bb9eddc8fea34e3f Mon Sep 17 00:00:00 2001 From: Clemens Kofler Date: Thu, 2 Oct 2008 14:41:35 +0200 Subject: [PATCH] Use RolesHelper in BaseController. Fixes broken stories. --- vendor/engines/adva_cms/app/controllers/base_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/engines/adva_cms/app/controllers/base_controller.rb b/vendor/engines/adva_cms/app/controllers/base_controller.rb index fe037f7d0..ab663acf4 100644 --- a/vendor/engines/adva_cms/app/controllers/base_controller.rb +++ b/vendor/engines/adva_cms/app/controllers/base_controller.rb @@ -2,7 +2,7 @@ class BaseController < ApplicationController class SectionRoutingError < ActionController::RoutingError; end - helper :base, :content, :comments, :users + helper :base, :content, :comments, :users, :roles helper_method :page_cache_subdirectory include ContentHelper # WTF!