Sha256: b63a13526cee02a2c056573fd877b7a00a85f02e726b30f3ad78284c2e56362b

Contents?: true

Size: 320 Bytes

Versions: 25

Compression:

Stored size: 320 Bytes

Contents

module Compony
  module ControllerMixin
    extend ActiveSupport::Concern

    include Compony::ViewHelpers

    included do
      # Declare all methods in each such module as helper_method
      Compony::ViewHelpers.public_instance_methods.each { |helper_method_sym| helper_method helper_method_sym }
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
compony-0.5.3 lib/compony/controller_mixin.rb
compony-0.5.2 lib/compony/controller_mixin.rb
compony-0.5.1 lib/compony/controller_mixin.rb
compony-0.5.0 lib/compony/controller_mixin.rb
compony-0.4.1 lib/compony/controller_mixin.rb
compony-0.4.0 lib/compony/controller_mixin.rb
compony-0.3.3 lib/compony/controller_mixin.rb
compony-0.3.2 lib/compony/controller_mixin.rb
compony-0.3.1 lib/compony/controller_mixin.rb
compony-0.3.0 lib/compony/controller_mixin.rb
compony-0.2.3 lib/compony/controller_mixin.rb
compony-0.2.2 lib/compony/controller_mixin.rb
compony-0.2.1 lib/compony/controller_mixin.rb
compony-0.2.0 lib/compony/controller_mixin.rb
compony-0.1.1 lib/compony/controller_mixin.rb
compony-0.1.0 lib/compony/controller_mixin.rb
compony-0.0.9 lib/compony/controller_mixin.rb
compony-0.0.8 lib/compony/controller_mixin.rb
compony-0.0.7 lib/compony/controller_mixin.rb
compony-0.0.6 lib/compony/controller_mixin.rb