permisos y abrir emails
This commit is contained in:
parent
bd3b2ce8c5
commit
15a4bed83b
3 changed files with 15 additions and 0 deletions
2
Gemfile
2
Gemfile
|
@ -44,6 +44,7 @@ gem 'carrierwave'
|
||||||
gem 'carrierwave-i18n'
|
gem 'carrierwave-i18n'
|
||||||
gem 'mini_magick'
|
gem 'mini_magick'
|
||||||
gem 'carrierwave-bombshelter'
|
gem 'carrierwave-bombshelter'
|
||||||
|
gem 'pundit'
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem 'pry'
|
gem 'pry'
|
||||||
|
@ -66,4 +67,5 @@ group :development do
|
||||||
gem 'capistrano-rails'
|
gem 'capistrano-rails'
|
||||||
gem 'capistrano-rbenv'
|
gem 'capistrano-rbenv'
|
||||||
gem 'rbnacl', '< 5.0'
|
gem 'rbnacl', '< 5.0'
|
||||||
|
gem 'letter_opener'
|
||||||
end
|
end
|
||||||
|
|
|
@ -160,6 +160,10 @@ GEM
|
||||||
railties (>= 4.2.0)
|
railties (>= 4.2.0)
|
||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
kramdown (1.16.2)
|
kramdown (1.16.2)
|
||||||
|
launchy (2.4.3)
|
||||||
|
addressable (~> 2.3)
|
||||||
|
letter_opener (1.6.0)
|
||||||
|
launchy (~> 2.2)
|
||||||
liquid (4.0.0)
|
liquid (4.0.0)
|
||||||
listen (3.1.5)
|
listen (3.1.5)
|
||||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||||
|
@ -195,6 +199,8 @@ GEM
|
||||||
method_source (~> 0.9.0)
|
method_source (~> 0.9.0)
|
||||||
public_suffix (3.0.2)
|
public_suffix (3.0.2)
|
||||||
puma (3.11.4)
|
puma (3.11.4)
|
||||||
|
pundit (2.0.0)
|
||||||
|
activesupport (>= 3.0.0)
|
||||||
rack (2.0.4)
|
rack (2.0.4)
|
||||||
rack-test (1.0.0)
|
rack-test (1.0.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
|
@ -324,10 +330,12 @@ DEPENDENCIES
|
||||||
jbuilder (~> 2.5)
|
jbuilder (~> 2.5)
|
||||||
jekyll
|
jekyll
|
||||||
jquery-rails
|
jquery-rails
|
||||||
|
letter_opener
|
||||||
listen (>= 3.0.5, < 3.2)
|
listen (>= 3.0.5, < 3.2)
|
||||||
mini_magick
|
mini_magick
|
||||||
pry
|
pry
|
||||||
puma (~> 3.7)
|
puma (~> 3.7)
|
||||||
|
pundit
|
||||||
rails (~> 5.1.4)
|
rails (~> 5.1.4)
|
||||||
rails_warden
|
rails_warden
|
||||||
rbnacl (< 5.0)
|
rbnacl (< 5.0)
|
||||||
|
|
|
@ -57,4 +57,9 @@ Rails.application.configure do
|
||||||
config.ignore_processing_errors = false
|
config.ignore_processing_errors = false
|
||||||
config.ignore_download_errors = false
|
config.ignore_download_errors = false
|
||||||
end
|
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
|
end
|
||||||
|
|
Loading…
Reference in a new issue