lib/fiona7/controller_helper.rb in infopark_fiona7-0.71.0.6 vs lib/fiona7/controller_helper.rb in infopark_fiona7-0.71.0.7
- old
+ new
@@ -1,8 +1,12 @@
+require 'scrivito/controller_helper'
require 'fiona7/in_editable_view'
+require 'fiona7/current_user_map'
module Fiona7
module ControllerHelper
+ include Scrivito::ControllerHelper
+ include Fiona7::CurrentUserMap
include InEditableView
def self.included(base)
base.__send__(:helper_method, :scrivito_in_editable_view?)
base.__send__(:helper_method, :fiona7_in_editable_view?)