Sha256: 6af2824b8571863d5df229afd51e967f9356ef3b0ba24d9529ce9564ed6e0ca9
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
Rails.application.routes.draw do post '/sign_in' => 'sessions#developer' get '/authenticated' => 'authenticated#index' authenticate do get '/authenticated_by_route_constraint' => 'unauthenticated#index' end authenticate ->(_user) { false } do get '/authenticated_by_route_constraint_which_blocks_all_users' => 'unauthenticated#index' end end
Version data entries
5 entries across 5 versions & 1 rubygems