ui update
This commit is contained in:
parent
712e393ccf
commit
568b42c12d
@ -31,7 +31,7 @@ html {
|
||||
}
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: $footer_height;
|
||||
margin-bottom: $footer_height + 20;
|
||||
background: image_url("grey_wash_wall.png");
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def ensure_admin_user
|
||||
unless current_user && current_user.is_admin?
|
||||
unless current_user? && current_user.admin?
|
||||
flash[:warning] = "You must login as an admin"
|
||||
redirect_to login_path
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user