mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
It's always hard to remove another layer of indirection...
This commit is contained in:
parent
6ab1bddd82
commit
b95d35d5d9
6 changed files with 5 additions and 16 deletions
|
|
@ -38,17 +38,6 @@ class ApplicationController < ActionController::Base
|
|||
@conferences =Conference.all
|
||||
end
|
||||
|
||||
def verify_user
|
||||
:authenticate_user!
|
||||
|
||||
if (current_user.nil?)
|
||||
redirect_to new_user_session_path
|
||||
return false
|
||||
end
|
||||
|
||||
true
|
||||
end
|
||||
|
||||
def current_ability
|
||||
@current_ability ||= Ability.new(current_user)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue