Sha256: 09c0b546a0c08e12c3bd5138b7da0e164a497232fcbfcbbff5148ea4bbbbac61
Contents?: true
Size: 294 Bytes
Versions: 8
Compression:
Stored size: 294 Bytes
Contents
Trestle::Engine.routes.draw do controller "trestle/auth/sessions" do if Trestle.config.auth.enable_login get 'login' => :new, as: :login post 'login' => :create end if Trestle.config.auth.enable_logout get 'logout' => :destroy, as: :logout end end end
Version data entries
8 entries across 8 versions & 1 rubygems