OSDN Git Service

change router frame work
[pettanr/pettanr.git] / app / assets / javascripts / views / users / account.js.coffee
index 7502bd5..419293a 100644 (file)
@@ -30,15 +30,15 @@ class Pettanr.Views.User.Account extends Backbone.View
     this\r
   \r
   logo_click: () ->\r
-    @trigger('navigate', '')\r
+    @trigger('http_get', '')\r
   \r
   author_click: () ->\r
-    @trigger('navigate', @author_view.url())\r
+    @trigger('http_get', @author_view.url())\r
   \r
   artist_click: () ->\r
-    @trigger('navigate', @artist_view.url())\r
+    @trigger('http_get', @artist_view.url())\r
   \r
   sign_out_click: () ->\r
-    @trigger('sign_out')\r
+    @trigger('http_post', 'users/sign_out')\r
     return false\r
   \r