debug student space
This commit is contained in:
parent
dfd4234daf
commit
c5d73f52cb
@ -27,7 +27,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
@current_suser ||= StudentUser.find_by_auth_token!(cookies[:student_auth_token]) if cookies[:student_auth_token]
|
||||
|
||||
if @current_suser.lock?
|
||||
if @current_suser and @current_suser.lock?
|
||||
@current_suser = false
|
||||
end
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- encoding : utf-8 -*-
|
||||
class Student::TopicsController < ApplicationController
|
||||
before_filter :auth_admin
|
||||
before_filter :auth_suser
|
||||
|
||||
|
||||
layout "student"
|
||||
|
@ -7,14 +7,14 @@
|
||||
%title Connection
|
||||
= csrf_meta_tags
|
||||
= stylesheet_link_tag :admin_auth
|
||||
= javascript_include_tag :connexion
|
||||
|
||||
%body
|
||||
|
||||
:coffeescript
|
||||
$ ->
|
||||
$.backstretch("/login_background.jpg")
|
||||
#flashs= bootstrap_flash
|
||||
.form-signin= yield
|
||||
|
||||
|
||||
= javascript_include_tag "application"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user