Authorisation management using CanCanCan added
This commit is contained in:
parent
51be4a4777
commit
7a3b65fe50
24 changed files with 211 additions and 295 deletions
|
|
@ -15,6 +15,3 @@
|
|||
/ ' | Cookie is #{session[:token]}
|
||||
|
||||
= render 'cookies_eu/consent_banner', link: '/about#cookies'
|
||||
|
||||
/ = current_user.is_admin?
|
||||
/ = session.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue