Module: Bootsy
- Defined in:
- lib/bootsy.rb,
lib/bootsy/engine.rb,
lib/bootsy/version.rb,
lib/bootsy/container.rb,
lib/bootsy/form_helper.rb,
lib/bootsy/form_builder.rb,
lib/bootsy/activerecord/image.rb,
app/uploaders/bootsy/image_uploader.rb,
app/helpers/bootsy/application_helper.rb,
lib/bootsy/activerecord/image_gallery.rb,
app/controllers/bootsy/images_controller.rb,
app/controllers/bootsy/application_controller.rb
Overview
Public: The gem version
Defined Under Namespace
Modules: ApplicationHelper, Container, FormBuilder, FormHelper Classes: ApplicationController, Engine, Image, ImageGallery, ImageUploader, ImagesController
Constant Summary collapse
- VERSION =
'2.4.0'
- @@editor_options =
{ font_styles: true, emphasis: true, lists: true, html: false, link: true, image: true, color: true }
- @@image_versions_available =
[:small, :medium, :large, :original]
- @@allow_destroy =
true
- @@small_image =
{ width: 160, height: 160 }
- @@medium_image =
{ width: 360, height: 360 }
- @@large_image =
{ width: 760, height: 760 }
- @@original_image =
{}
- @@storage =
:file
- @@store_dir =
'uploads'
- @@base_controller =
ActionController::Base
Class Method Summary collapse
-
.setup {|_self| ... } ⇒ Object
Default way to setup Bootsy.
Class Method Details
.setup {|_self| ... } ⇒ Object
Default way to setup Bootsy. Run rails generate bootsy:install to create a fresh initializer with all configuration values.
65 66 67 |
# File 'lib/bootsy.rb', line 65 def self.setup yield self end |