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
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
1ff10e22
"README.md" did not exist on "f8e05a8108ad0b0303c0319d21ef3b65450c618a"
Commit
1ff10e22
authored
9 years ago
by
Mateus Rambo Strey
Browse files
Options
Downloads
Patches
Plain Diff
fix attachment classes name
parent
869b1746
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/builders/builder.rb
+1
-1
1 addition, 1 deletion
app/builders/builder.rb
app/models/learning_object/attachment.rb
+4
-6
4 additions, 6 deletions
app/models/learning_object/attachment.rb
with
5 additions
and
7 deletions
app/builders/builder.rb
+
1
−
1
View file @
1ff10e22
...
...
@@ -33,7 +33,7 @@ class Builder
def
self
.
cache_key
(
rid
,
last_modified
)
last_modified
=
Time
.
at
(
0
).
to_s
if
last_modified
.
nil?
rid
+
'/'
+
last_modified
"
#{
rid
}
/
#{
last_modified
}
"
end
end
This diff is collapsed.
Click to expand it.
app/models/learning_object/attachment.rb
+
4
−
6
View file @
1ff10e22
module
LearningObject
class
Attachment
include
ActiveModel
::
Model
class
LearningObject::Attachment
include
ActiveModel
::
Model
#this attributes mirror Dspace bitstream values
attr_accessor
:id
,
:name
,
:link
,
:retrieve_link
,
:description
,
:format
,
:mime_type
,
:size
end
#this attributes mirror Dspace bitstream values
attr_accessor
:id
,
:name
,
:link
,
:retrieve_link
,
:description
,
:format
,
:mime_type
,
:size
end
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