Sha256: 0241b89dd15ae68f8f163526af080a12a0c2814fbe97c5bbccca095c82a08e16

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    def exceptionally_beautiful_routes
      match '(errors)/:status', :to => "#{ExceptionallyBeautiful.controller}##{ExceptionallyBeautiful.action}",
                                :constraints => { :status => /\d{3}/ }, :via => :all
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exceptionally_beautiful-0.1.1 lib/exceptionally_beautiful/routes.rb
exceptionally_beautiful-0.1.0 lib/exceptionally_beautiful/routes.rb
exceptionally_beautiful-0.0.1 lib/exceptionally_beautiful/routes.rb