No release in over 3 years
Low commit activity in last 3 years
A Refinery CMS and activeadmin connector
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Add to Gemfile

gem 'refinerycms', '> 3.0' gem 'activeadmin', '> 1.0.0pre' gem 'devise'

gem 'activeadmin-refinerycms-authentication' gem 'deface', '~> 1.0.0'

Run ActiveAdmin generator, then the refinery:cms generator.

Add to routes

Make sure refinery is mounted in a subpath, not directly at root.

mount Refinery::Core::Engine, at: Refinery::Core.mounted_path

Configure refinery authentication

rails g activeadmin_refinery_authentication:install MODELNAME where MODELNAME is the name of the ActiveAdmin user.

Add plugins: [] to permit_params in the ActiveAdmin user model.

Add the plugins partial to the edit form of the ActiveAdmin user model:

panel t('panels.user_plugins') do
  render 'admin/users/plugins_form', f: f
end