Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blueberryapps/blueberry_cms
Rails engine with pages
https://github.com/blueberryapps/blueberry_cms
rails rails-engine ruby
Last synced: about 7 hours ago
JSON representation
Rails engine with pages
- Host: GitHub
- URL: https://github.com/blueberryapps/blueberry_cms
- Owner: blueberryapps
- License: mit
- Created: 2017-01-12T15:25:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T02:01:50.000Z (almost 2 years ago)
- Last Synced: 2024-04-09T21:49:02.886Z (7 months ago)
- Topics: rails, rails-engine, ruby
- Language: HTML
- Size: 180 KB
- Stars: 0
- Watchers: 10
- Forks: 1
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# BlueberryCMS
Short description and motivation.## Usage
How to use my plugin.## Installation
Add this line to your application's Gemfile:```ruby
gem 'blueberry_cms'
```Add this line to your application's sass:
```sass
@import blueberry_cms
```Add this line to your application's coffeescript:
```coffee
#= require blueberry_cms
```And then execute:
```bash
$ bundle
```Or install it yourself as:
```bash
$ gem install blueberry_cms
```
## BlueberryCMS::Page custom fields
```ruby
# config/initializers/blueberry_cms.rbmodule BreadcrumbLeft
extend ActiveSupport::Concernincluded do
field :breadcrumb_left, type: Boolean, default: false
end
endActiveSupport::Reloader.to_prepare do
BlueberryCMS::Page.send(:include, BreadcrumbLeft)
end
``````slim
# app/views/blueberry_cms/admin/pages/_custom_fields.html.slim= f.input :breadcrumb_left
```## Contributing
Contribution directions go here.## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).