This gem uses use the lastest version of Rails. Usage Docs.
Add this line to your application's Gemfile:
And then execute:
rails g adminpanel:initialize rake db:migrate
This create and seeds a user to the database (email: '[email protected]', password: 'password').
Change the path where adminpanel is mounted
# routes.rb mount :: => '/panel'
Change the panel locale
# application.rb # Adminpanel supported locales :en, :es (pull requests are welcome) config.i18n.default_locale = :es
To create a new resource:
rails g adminpanel:resource product name price:float description:wysiwyg
check the Resource Generator docs for more information.
Make sure you read the docs, there is the descriptions of every relevant part of the gem.
- Ruby 2.1.0+
- Rails 4.2+
Currently the integrations working are:
Any questions, errors or feature suggestions are welcome in the issues