Module: SimpleFormBs5FileInput
- Defined in:
- lib/simple_form_bs5_file_input.rb,
lib/simple_form_bs5_file_input/version.rb
Constant Summary collapse
- VERSION =
"0.1.4".freeze
Class Method Summary collapse
Class Method Details
.add_locales! ⇒ Object
11 12 13 |
# File 'lib/simple_form_bs5_file_input.rb', line 11 def self.add_locales! I18n.load_path += Dir["#{root_path}/config/locales/*.yml"] end |
.add_paths! ⇒ Object
5 6 7 8 9 |
# File 'lib/simple_form_bs5_file_input.rb', line 5 def self.add_paths! Sprockets.append_path stylesheets_path Sprockets.append_path images_path Sprockets.append_path javascripts_path end |