Project

admin_core

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Flexible admin framework for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 12.0
~> 3.5
~> 0.48
~> 0.14
~> 1.3
~> 0.9

Runtime

~> 1.0
>= 3.2
 Project Readme

AdminCore

Gem Version Dependency Status CircleCI Coverage Status Code Climate

A flexible admin framework for Rails

⚠️ AdminCore is not production ready.

Getting Started

Add this line to your application's Gemfile:

gem 'admin_core'

Re-bundle, then run the installer:

$ rails g admin_core:install

This generates:

  • app/controllers/admin/application_controller.rb
  • app/views/admin/application.html.erb
  • config/initializers/admin_core.rb

There is another generator to generate resource manager class:

$ rails g admin_core:resource_manager user

This generates:

  • app/models/admin/user.rb

Add route to AdminCore:

# config/routes.rb
Rails.application.routes.draw do
  namespace :admin do
    resources :users
  end
end

Restart server and access http://localhost:3000/admin/users