Adapts AccountController to new permissions system

This commit is contained in:
kikito
2015-08-10 15:10:47 +02:00
parent c1c1362780
commit ce27a6f2ea
4 changed files with 18 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
class AccountController < ApplicationController
before_action :authenticate_user!
before_action :set_account
load_and_authorize_resource class: "User"
def show
end