require "devise" require_relative "./devise_config" require "rolify" require_relative "./view_helper" require "kaminari" Kaminari::Hooks.init module Identity class Engine < ::Rails::Engine initializer 'identity-views' do |app| ActionView::Base.include Identity::ViewHelper end initializer 'identity-admin' do |app| ActiveAdmin.application.load_paths.unshift(File.dirname(__FILE__) + '/admin') end end end