Sha256: 59125e3c161cfe890cc2783a605f36316fd38cae1b9b200c3025a1e1919d04fe
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
module Raisin # # Abstract class for all actions. # class Base < ActionController::Metal abstract! module Compatibility def cache_store; end def cache_store=(*); end def assets_dir=(*); end def javascripts_dir=(*); end def stylesheets_dir=(*); end def page_cache_directory=(*); end def asset_path=(*); end def asset_host=(*); end def relative_url_root=(*); end def perform_caching=(*); end def helpers_path=(*); end def allow_forgery_protection=(*); end end extend Compatibility MODULES = [ AbstractController::Helpers, ActionController::UrlFor, ActionController::Rendering, ActionController::Renderers::All, ActionController::ConditionalGet, ActionController::RackDelegation, ActionController::MimeResponds, ActionController::ImplicitRender, ActionController::DataStreaming, AbstractController::Callbacks, ActionController::Rescue, ActionController::Instrumentation, ] MODULES.each { |mod| include mod } ActiveSupport.run_load_hooks(:action_controller, self) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
raisin-0.1.1 | lib/raisin/base.rb |
raisin-0.1.0 | lib/raisin/base.rb |