Sha256: 88da177e484023a2114b907728e9faf70112af6080a3342a4303596614cf353a

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

module EasyPresenter
  module Filter
    extend ActiveSupport::Concern

    included do
      append_before_filter :set_easy_presenter_controller
    end

    protected
    def set_easy_presenter_controller
      EasyPresenter.controller = self
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
easy_presenter-1.1.1 lib/easy_presenter/filter.rb
easy_presenter-1.1.0 lib/easy_presenter/filter.rb
easy_presenter-1.0.1 lib/easy_presenter/filter.rb
easy_presenter-1.0.0 lib/easy_presenter/filter.rb