Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
whaleback
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
whaleback
Commits
c713bb79
Commit
c713bb79
authored
Jul 16, 2018
by
ivan Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Whaleback::Media::Obj::TypeTrans
parent
df3a8d9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
obj.rb
lib/whaleback/media/obj.rb
+5
-5
No files found.
lib/whaleback/media/obj.rb
View file @
c713bb79
...
...
@@ -30,11 +30,11 @@ module Whaleback
before_destroy
:stop_destroying
,
unless: :useless
TypeTrans
=
{
''
=>
'Media::Obj'
,
'image'
=>
'
Media
::Image'
,
'document'
=>
'
Media
::Document'
,
'video'
=>
'
Media
::Video'
,
'voice'
=>
'
Media
::Voice'
,
''
=>
'
Whaleback::
Media::Obj'
,
'image'
=>
'
Whaleback::Media::Obj
::Image'
,
'document'
=>
'
Whaleback::Media::Obj
::Document'
,
'video'
=>
'
Whaleback::Media::Obj
::Video'
,
'voice'
=>
'
Whaleback::Media::Obj
::Voice'
,
}
class
<<
self
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment