Sha256: 82ebc088bbf6335859157061a35f896275f3f1bd917422d9719ca7f3bd93f2c0

Contents?: true

Size: 266 Bytes

Versions: 7

Compression:

Stored size: 266 Bytes

Contents

require 'rubygems'
require 'walruz'
require 'active_support'
require File.dirname(__FILE__) + '/walruz/controller_mixin'

if defined?(Rails)
  Rails.configuration.after_initialize do
    ActionController::Base.class_eval { include Walruz::ControllerMixin }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
walruz-rails-0.0.11 lib/walruz_rails.rb
walruz-rails-0.0.10 lib/walruz_rails.rb
walruz-rails-0.0.9 lib/walruz_rails.rb
walruz-rails-0.0.8 lib/walruz_rails.rb
walruz-rails-0.0.3 lib/walruz_rails.rb
walruz-rails-0.0.4 lib/walruz_rails.rb
walruz-rails-0.0.5 lib/walruz_rails.rb