/
techgrant
/
ourresource
Обзор
Документация
Войти
/
techgrant
/
ourresource
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
app/controllers/application_controller.rb
10 строк
192 B
grant88
asdf
17 янв 2013, 02:23
17 янв 2013, 02:23
42e28ca
Код
Авторство
О чём код?
# -*- encoding : utf-8 -*- class ApplicationController < ActionController::Base protect_from_forgery def check_login if session[:user] == nil redirect_to('/') end end end