Module: Scintillation::Controller
- Defined in:
- lib/scintillation/controller.rb
Defined Under Namespace
Modules: InstanceMethods
Instance Method Summary collapse
Instance Method Details
#scintillate(options = {}) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/scintillation/controller.rb', line 4 def scintillate( = {}) include MessageQueue include InstanceMethods ActionView::Base.send(:include, Scintillation::View) .reverse_merge!(:scope => :messages) helper_method :message_store define_method(:scintillation_scope) { [:scope] } end |