Sha256: 2d41d3afa7262049e2b9a6c9a795acca832d58b56494a6a8d85572f2a1b8930d

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 Bytes

Contents

class << Object; alias_method :const_available?, :const_defined?; end
  
class ContentController < Class.new(ActionController::Base)
end
class NotAController
end
module Admin
  class << self; alias_method :const_available?, :const_defined?; end
  SomeConstant = 10
  class UserController < Class.new(ActionController::Base); end
  class NewsFeedController < Class.new(ActionController::Base); end
end

ActionController::Routing::Routes.draw do |map|
  map.route_one 'route_one', :controller => 'elsewhere', :action => 'flash_me'
  map.connect ':controller/:action/:id'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
actionpack-1.12.3 test/controller/fake_controllers.rb
actionpack-1.12.5 test/controller/fake_controllers.rb
actionpack-1.12.2 test/controller/fake_controllers.rb
actionpack-1.12.4 test/controller/fake_controllers.rb