sweet-alert-rails-confirm
sweet-alert-rails-confirm copied to clipboard
Please update readme with proper installation guide
gem 'rails-assets-sweetalert' doesnt exist at all
if I install gem 'sweet-alert' there is no sweet-alert-confirm file in the gem folder
gem 'sweet-alert-confirm', git: 'https://github.com/mois3x/sweet-alert-rails-confirm didn't work either. In every case I got it to not throw an error I got the message that swal function does not exist.
First, make sure you use bundler >= 1.8.4 Second, you need to add in Gemfile in the following convention:
source 'https://rails-assets.org' do gem 'rails-assets-sweetalert' end
I'll let you know of my results, when I get to try it. thanks
Adding the following 'gem' from forks worked for me, the master one bypass the modal box and triggered the action straight forward.
gem "sweet-alert" , git: "https://github.com/frank184/sweet-alert-rails" gem "sweet-alert-confirm", git: "https://github.com/humancopy/sweet-alert-rails-confirm"