Sha256: 9abbf7ec84ff64f12f31e92600dedef5163f8060d4035fb73b6e7e968903c06d
Contents?: true
Size: 459 Bytes
Versions: 14
Compression:
Stored size: 459 Bytes
Contents
require 'crummy' require 'rails' module Crummy class Railtie < Rails::Railtie initializer "crummy.action_controller" do |app| if defined?(ActionController) require 'crummy/action_controller' ActionController::Base.send :include, Crummy::ControllerMethods end end initializer "crummy.action_view" do |app| require 'crummy/action_view' ActionView::Base.send :include, Crummy::ViewMethods end end end
Version data entries
14 entries across 14 versions & 2 rubygems