Sha256: c5c084481c3303ab98b16163dbdcba0983fbe9f3317e30f111627dd684550f3a

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

url_root = rad.users.url_root

rad.router.configure do |c|
  c.persistent_params :l

  c.with_options url_root: url_root do |c|
    c.alias '/login', class_name: 'Controllers::Sessions', method: :login
    c.alias '/logout', class_name: 'Controllers::Sessions', method: :logout
    c.alias '/signup', class_name: 'Controllers::Identities', method: :enter_email_form

    # c.resource :checks,     class_name: 'Users::Checks'

    c.resource :identities, class_name: 'Controllers::Identities'
    c.resource :sessions,   class_name: 'Controllers::Sessions'

    c.resource :profiles,   class_name: 'Controllers::Profiles'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_users-0.0.2 config/routes.rb