Sha256: 8bfec8e678e4e178172c9c42b7b34f017748928379acf04fe92b6902be4e616b
Contents?: true
Size: 535 Bytes
Versions: 4
Compression:
Stored size: 535 Bytes
Contents
module Controll class Command < ::Imperator::Command module Delegation extend ActiveSupport::Concern included do delegate :session, :params, :notify, :error, :do_redirect, :do_render, to: :initiator alias_method :redirect, :do_redirect alias_method :render, :do_render end end include Delegation end if defined?(::Mongoid) module Mongoid class Command < ::Imperator::Mongoid::Command include Controll::Command::Delegation end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
controll-0.3.2 | lib/controll/command.rb |
controll-0.3.1 | lib/controll/command.rb |
controll-0.3.0 | lib/controll/command.rb |
controll-0.2.0 | lib/controll/command.rb |