OSDN Git Service

operator move to cache
[pettanr/pettanr.git] / app / assets / javascripts / views / users / account.js.coffee
index 419293a..5acf90d 100644 (file)
@@ -3,9 +3,8 @@ class Pettanr.Views.User.Account extends Backbone.View
   tagName: 'div'\r
   \r
   initialize: (options) ->\r
-    @operators = options.operators\r
-    @author = @operators.author\r
-    @artist = @operators.artist\r
+    @author = Pettanr.cache.operators.author\r
+    @artis = Pettanr.cache.operators.artist\r
   \r
   render: () ->\r
     this.$el.html('')\r