Class: UzuUzu::Controller::Index
- Defined in:
- lib/uzuuzu-core/controller/index.rb
Instance Method Summary collapse
Instance Method Details
#error(code) ⇒ Object
11 12 13 |
# File 'lib/uzuuzu-core/controller/index.rb', line 11 def error(code) response.respond(helper.render_file(__DIR__("view/index/error/#{code}.rhtml"))) end |
#index ⇒ Object
7 8 9 |
# File 'lib/uzuuzu-core/controller/index.rb', line 7 def index end |
#logout ⇒ Object
15 16 17 18 |
# File 'lib/uzuuzu-core/controller/index.rb', line 15 def logout session.clear response.redirect '/' end |