Sha256: d6eb07d6cdd7c860863a7e3dccfbcfe5449dcf3a7fbec9dfe8160fbbd2bab8f3
Contents?: true
Size: 354 Bytes
Versions: 7
Compression:
Stored size: 354 Bytes
Contents
module RailsKindeditor module ControllerAdditions module ClassMethods def include_kindeditor(options = {}) proc = Proc.new do |c| c.instance_variable_set(:@use_kindeditor, true) end before_filter(proc, options) end end def self.included(base) base.extend ClassMethods end end end
Version data entries
7 entries across 7 versions & 1 rubygems