Backbone ProtectedModel, WIP

This commit is contained in:
Gregory Eremin
2012-09-19 02:40:46 +04:00
parent 7cef7bfc9c
commit 95ac3e6eef
12 changed files with 69 additions and 33 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
json.artist_title @artist.name
json.artist_pic @artist.pic
json.artist_bio @artist.bio
json.artist_pic @artist.image.sized(:extralarge)
json.artist_bio @artist.bio(@user.lang || "en")
json.artist_loaded @artist.loaded?
json.artist_url @artist.url
json.artist_albums @artist.albums.shown.to_a do |json, album|