Sha256: c677d1a64b1b377a4eeeee13128579d4603df538ee8a371d80c3bb908bd25e7b

Contents?: true

Size: 342 Bytes

Versions: 13

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module ActionDispatch
  module Routing
    class Mapper
      def log_routes
        match 'log/change_level(/:checks)(.:format)', to:
          'log_toolbox/log#change_level', via: :post

        match 'log/test(/:checks)(.:format)', to:
          'log_toolbox/log#test', via: :get
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
log_toolbox-1.3.11 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.10 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.9 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.8 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.7 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.6 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.5 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.4 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.3 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.2 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.1 lib/log_toolbox/log_routes.rb
log_toolbox-1.3.0 lib/log_toolbox/log_routes.rb
log_toolbox-1.2.0 lib/log_toolbox/log_routes.rb