class UsersController
- UsersController
- ApplicationController
- Reference
- Object
Defined in:
controllers/users_controller.crInstance Method Summary
-
#login
get /users/login
-
#login_validates
post /users/login
-
#register
get /users/register
-
#register_validates
post /users/register
Instance methods inherited from class ApplicationController
env : HTTP::Server::Context
env
Constructor methods inherited from class ApplicationController
new(env : HTTP::Server::Context)
new
Instance methods inherited from module Wikicr::Helpers::Page
add_page(page, stack = [] of String)
add_page,
add_toc(index_entry)
add_toc,
add_toc_level(b, index_entry, current_id = 0, last_head = 0)
add_toc_level,
create_toc_line(line, current_id, ends = true)
create_toc_line
Instance methods inherited from module Wikicr::Helpers::User
set_login_cookies_for(username)
set_login_cookies_for,
uses_login_cookies
uses_login_cookies
Instance methods inherited from module ApplicationController::Redirect
redirect_to(path, *args_to_hanle, **stuff_to_handle)
redirect_to
Instance methods inherited from module ApplicationController::Cookies
cookies(*args, **options)cookies(*args, **options, &) cookies, delete_cookie(name) delete_cookie, set_cookie(**cookie) set_cookie
Instance methods inherited from module ApplicationController::Flash
flash(*args, **options)flash(*args, **options, &) flash
Instance methods inherited from module ApplicationController::Params
params(*args, **options)params(*args, **options, &) params
Instance methods inherited from module ApplicationController::Response
response(*args, **options)response(*args, **options, &) response
Instance methods inherited from module ApplicationController::Request
request(*args, **options)request(*args, **options, &) request
Instance methods inherited from module ApplicationController::Session
session(*args, **options)session(*args, **options, &) session