From e677a575d0b63165613198224525cf91fc656101 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Fri, 23 Dec 2011 03:25:56 +0200 Subject: [PATCH] Add unloadable --- lib/redmine_landing_page/patches/projects_controller_patch.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redmine_landing_page/patches/projects_controller_patch.rb b/lib/redmine_landing_page/patches/projects_controller_patch.rb index 35c13d5..5c08abb 100644 --- a/lib/redmine_landing_page/patches/projects_controller_patch.rb +++ b/lib/redmine_landing_page/patches/projects_controller_patch.rb @@ -3,6 +3,8 @@ module RedmineLandingPage module ProjectsControllerPatch def self.included(base) base.class_eval do + unloadable + alias_method :show_without_landing_page, :show unless method_defined? :show_without_landing_page def show