Sha256: cc63c90ac5a0d1c8119cd085855ab33212b9f66234988771974b5b4f98a9a877
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
RailsApp::Application.routes.draw do get 'dummy/index' => 'dummy#index' get 'dummy/blocked_by_inline' => 'dummy#blocked_by_inline', :constraints => FirewallConstraint::Constraint.new constraints FirewallConstraint::Constraint.new do get 'dummy/blocked_by_block' => 'dummy#blocked_by_block' end constraints FirewallConstraint::Constraint.new(['127.0.0.1']) do get 'dummy/blocked_by_dynamic' => 'dummy#blocked_by_dynamic' end root :to => 'dummy#index' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
firewall_constraint-0.0.2 | spec/rails_app/config/routes.rb |
firewall_constraint-0.0.1 | spec/rails_app/config/routes.rb |