OSDN Git Service

fix alias action
[pettanr/pettanr.git] / lib / locmare / filer / body / file_body / file_item / caption / default / link / link.rb
index 0e75bb1..b1ab894 100644 (file)
@@ -25,7 +25,8 @@ module Locmare
                   def url
                     controller_manifest = @item.class.my_controller
                     action_manifest = controller_manifest.actions[@link_manifest.action_name]
-                    action_manifest.url({'id' => @item.id.to_s})
+                    mani = action_manifest.original || action_manifest
+                    mani.url({'id' => @item.id.to_s})
                   end
                   
                 end