|
@@ -4,6 +4,7 @@ end
|
|
|
|
|
|
def add_gems
|
|
|
gem 'administrate', '~> 0.8.1'
|
|
|
+ gem 'data-confirm-modal', '~> 1.6.2'
|
|
|
gem 'devise', '~> 4.4.3'
|
|
|
gem 'devise-bootstrapped', github: 'excid3/devise-bootstrapped', branch: 'bootstrap4'
|
|
|
gem 'devise_masquerade', '~> 0.6.0'
|
|
@@ -78,7 +79,7 @@ def add_bootstrap
|
|
|
# Add Bootstrap JS
|
|
|
insert_into_file(
|
|
|
"app/assets/javascripts/application.js",
|
|
|
- "\n//= require jquery\n//= require popper\n//= require bootstrap",
|
|
|
+ "\n//= require jquery\n//= require popper\n//= require bootstrap\n//= require data-confirm-modal",
|
|
|
after: "//= require rails-ujs"
|
|
|
)
|
|
|
end
|