Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cleaning-portalmec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Fernando Heise Ferreira
cleaning-portalmec
Commits
07f6b59f
Commit
07f6b59f
authored
8 years ago
by
Marcela Ribeiro de Oliveira
Browse files
Options
Downloads
Plain Diff
merging with master
parents
58a04b50
f27faf60
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/models/learning_object.rb
+1
-2
1 addition, 2 deletions
app/models/learning_object.rb
config/initializers/devise.rb
+1
-1
1 addition, 1 deletion
config/initializers/devise.rb
with
2 additions
and
3 deletions
app/models/learning_object.rb
+
1
−
2
View file @
07f6b59f
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
config/initializers/devise.rb
+
1
−
1
View file @
07f6b59f
...
@@ -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
=
'
su
port
e
@c3sl.ufpr.br'
config
.
mailer_sender
=
'port
almec_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'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment