Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activeadmin can can authorization error

Getting following error on calling controller.load_and_authorize_resource

 protected method `authorize!' called for #<Admin::ProjectsController:0x1405de80>

This is happening right after the bundle update.

Gem file contains the following entry,

 gem "activeadmin" , git: 'git://github.com/gregbell/active_admin.git'

active admin version: 0.5.1

Thanks in advance.

like image 528
maximus ツ Avatar asked Mar 29 '13 12:03

maximus ツ


1 Answers

For ActiveAdmin v0.6.0 they added adapters according to this ticket

See updated documentation

like image 72
Andrey Eremin Avatar answered Sep 29 '22 21:09

Andrey Eremin