https://github.com/pysync/admin
ruby admin template
https://github.com/pysync/admin
Last synced: about 1 year ago
JSON representation
ruby admin template
- Host: GitHub
- URL: https://github.com/pysync/admin
- Owner: pysync
- License: mit
- Created: 2015-01-29T10:06:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-16T06:21:52.000Z (about 9 years ago)
- Last Synced: 2025-01-10T09:41:40.429Z (over 1 year ago)
- Language: Ruby
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: MIT-LICENSE
Awesome Lists containing this project
README
= Admin
This project rocks and uses MIT-LICENSE.
インストル手順:
Gemfileに以下記載を追加する(local gem)
gem "admin", path: "../admin"
プロジェクトルートで以下のコマンドを実行する
bundle install
bundle exec rails g admin:install
Adminに新しいメニューアイテムを追加方法
以下のコマンドを実行する
bundle exec rails g admin:resource model_name
# to remove resource admin
bundle exec rails destroy admin:resource model_name
例:bundle exec rails g admin:resource post