Skip to content
Snippets Groups Projects
Commit 07f6b59f authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

merging with master

parents 58a04b50 f27faf60
No related branches found
No related tags found
No related merge requests found
...@@ -48,10 +48,9 @@ class LearningObject < ApplicationRecord ...@@ -48,10 +48,9 @@ class LearningObject < ApplicationRecord
# *current_user* destroy learning object # *current_user* destroy learning object
include Trackable include Trackable
has_paper_trail has_paper_trail
has_many :collection_items, as: :collectionable has_many :collection_items, as: :collectionable, dependent: :destroy
has_many :collections, through: :collection_items has_many :collections, through: :collection_items
has_many :attachments, class_name: 'LearningObject::Attachment', autosave: true # autosave to allow import has_many :attachments, class_name: 'LearningObject::Attachment', autosave: true # autosave to allow import
......
...@@ -12,7 +12,7 @@ Devise.setup do |config| ...@@ -12,7 +12,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer, # Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class # note that it will be overwritten if you use your own mailer class
# with default "from" parameter. # with default "from" parameter.
config.mailer_sender = 'suporte@c3sl.ufpr.br' config.mailer_sender = 'portalmec_tec@c3sl.ufpr.br'
# Configure the class responsible to send e-mails. # Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer' # config.mailer = 'Devise::Mailer'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment