Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/log_toolbox/log_routes.rb

Instance Method Summary collapse

Instance Method Details

#log_routesObject



6
7
8
9
10
11
12
# File 'lib/log_toolbox/log_routes.rb', line 6

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