permisos y abrir emails

This commit is contained in:
f 2018-09-28 12:20:12 -03:00
parent bd3b2ce8c5
commit 15a4bed83b
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7
3 changed files with 15 additions and 0 deletions

View file

@ -44,6 +44,7 @@ gem 'carrierwave'
gem 'carrierwave-i18n'
gem 'mini_magick'
gem 'carrierwave-bombshelter'
gem 'pundit'
group :development, :test do
gem 'pry'
@ -66,4 +67,5 @@ group :development do
gem 'capistrano-rails'
gem 'capistrano-rbenv'
gem 'rbnacl', '< 5.0'
gem 'letter_opener'
end

View file

@ -160,6 +160,10 @@ GEM
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
kramdown (1.16.2)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.6.0)
launchy (~> 2.2)
liquid (4.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
@ -195,6 +199,8 @@ GEM
method_source (~> 0.9.0)
public_suffix (3.0.2)
puma (3.11.4)
pundit (2.0.0)
activesupport (>= 3.0.0)
rack (2.0.4)
rack-test (1.0.0)
rack (>= 1.0, < 3)
@ -324,10 +330,12 @@ DEPENDENCIES
jbuilder (~> 2.5)
jekyll
jquery-rails
letter_opener
listen (>= 3.0.5, < 3.2)
mini_magick
pry
puma (~> 3.7)
pundit
rails (~> 5.1.4)
rails_warden
rbnacl (< 5.0)

View file

@ -57,4 +57,9 @@ Rails.application.configure do
config.ignore_processing_errors = false
config.ignore_download_errors = false
end
config.action_mailer.perform_caching = false
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.perform_deliveries = true
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
end