Commit c713bb79 by ivan Lan

Fix Whaleback::Media::Obj::TypeTrans

parent df3a8d9a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment