Sha256: 08caa733719e61001654a7d3ffa3bd6a4c177b000f9f4a778a2c4c4b527a3f05

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

require 'vidibus/user/extensions/controller'
require 'vidibus/user/extensions/helper'

if defined?(ActiveSupport)
  ActiveSupport.on_load(:action_controller) do
    include Vidibus::User::Extensions::Controller
  end

  ActiveSupport.on_load(:application_helper) do
    include Vidibus::User::Extensions::Helper
  end

  ActiveSupport.on_load(:action_view) do
    include Vidibus::User::Extensions::Helper
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vidibus-user-1.0.1 lib/vidibus/user/extensions.rb
vidibus-user-1.0.0 lib/vidibus/user/extensions.rb