OSDN Git Service

change router frame work
[pettanr/pettanr.git] / app / assets / javascripts / views / common.js.coffee
index 41bc2f6..ca22d5e 100644 (file)
@@ -169,7 +169,7 @@ class Pettanr.Views.Common.Binder.Summary extends Pettanr.Views.Common.Summary
     this\r
   \r
   author_click: () ->\r
-    @trigger('navigate', @author_icon_with_caption.url())\r
+    @trigger('http_get', @author_icon_with_caption.url())\r
   \r
 class Pettanr.Views.Common.Leaf\r
 class Pettanr.Views.Common.Leaf.Summary extends Pettanr.Views.Common.Summary\r
@@ -224,14 +224,14 @@ class Pettanr.Views.Common.Leaf.Summary extends Pettanr.Views.Common.Summary
     this\r
   \r
   binder_click: () ->\r
-    @trigger('navigate', @binder_icon.url())\r
+    @trigger('http_get', @binder_icon.url())\r
   \r
   destination_click: () ->\r
-    @trigger('navigate', @destination_icon.url())\r
+    @trigger('http_get', @destination_icon.url())\r
   \r
   binder_author_click: () ->\r
-    @trigger('navigate', @binder_author_icon_with_caption.url())\r
+    @trigger('http_get', @binder_author_icon_with_caption.url())\r
   \r
   destination_author_click: () ->\r
-    @trigger('navigate', @destination_author_icon_with_caption.url())\r
+    @trigger('http_get', @destination_author_icon_with_caption.url())\r
   \r