Sha256: b8a5b9869b2e15038eb02aed8b422f55b0e26765ed5c1fbf0818b8e8b5f8a344

Contents?: true

Size: 215 Bytes

Versions: 6

Compression:

Stored size: 215 Bytes

Contents

class DummyController < ActionController::Base
  def self.before_filter(options, &block)
    yield self.new
  end
  class << self
    alias before_action before_filter
  end
  include Loaf::ControllerExtensions
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
loaf-0.8.1 spec/support/dummy_controller.rb
loaf-0.8.0 spec/support/dummy_controller.rb
loaf-0.7.0 spec/support/dummy_controller.rb
loaf-0.6.2 spec/support/dummy_controller.rb
loaf-0.6.1 spec/support/dummy_controller.rb
loaf-0.6.0 spec/support/dummy_controller.rb