hook_availability_after_reload.patch

Ondřej Ezr, 2015-08-11 02:00

Download (571 Bytes)

View differences:

lib/redmine/hook.rb
125 125
          end
126 126
        end
127 127
      end
128
      
128

  
129 129
      def controller
130 130
        nil
131 131
      end
132
      
132

  
133 133
      def config
134 134
        ActionController::Base.config
135 135
      end
......
171 171
  end
172 172
end
173 173

  
174
ApplicationHelper.send(:include, Redmine::Hook::Helper)
174
ActionView::Base.send(:include, Redmine::Hook::Helper)
175 175
ActionController::Base.send(:include, Redmine::Hook::Helper)