public
Fork of sudara/alonetone
Description: Musician Platform and Social Network. Upload MP3s, Create playlists. http://alonetone.com
Homepage: http://alonetone.com
Clone URL: git://github.com/Orcateers/alonetone.git
go go go
sudara (author)
Mon May 12 14:28:37 -0700 2008
commit  71a8a123b06a4ace4d0912fb44b90c74efa2af17
tree    f724430d7ee9c987344b1f693aba2c8582b624b6
parent  10ee09c9e49e4feeb4ab6b3ccd8ffd3419d4f7ea
...
6
7
8
9
10
 
 
11
12
13
...
33
34
35
 
36
37
38
39
40
41
42
43
44
45
...
6
7
8
 
 
9
10
11
12
13
...
33
34
35
36
37
38
39
40
41
42
 
43
44
45
0
@@ -6,8 +6,8 @@ class PlaylistsController < ApplicationController
0
 
0
   before_filter :find_tracks, :only => [:show, :edit]
0
   
0
- #rescue_from ActiveRecord::RecordNotFound, :with => :not_found
0
- #rescue_from NoMethodError, :with => :user_not_found
0
+ rescue_from ActiveRecord::RecordNotFound, :with => :not_found
0
+ rescue_from NoMethodError, :with => :user_not_found
0
   
0
   # GET /playlists
0
   # GET /playlists.xml
0
@@ -33,13 +33,13 @@ class PlaylistsController < ApplicationController
0
 
0
   def sort
0
     respond_to do |format|
0
+ format.html { @playlists = @user.playlists.include_private.find(:all) }
0
       format.js do
0
         params["playlist"].each_with_index do |id, position|
0
           Playlist.update(id, :position => position)
0
         end
0
         render :nothing => true
0
       end
0
- format.html { @playlists = @user.playlists.include_private.find(:all) }
0
     end
0
   end
0
   
...
18
19
20
21
22
 
23
24
25
...
44
45
46
 
47
 
 
48
49
50
51
52
53
54
55
...
18
19
20
 
 
21
22
23
24
...
43
44
45
46
47
48
49
50
51
52
 
 
53
54
55
0
@@ -18,8 +18,7 @@ class UsersController < ApplicationController
0
         @user_count = User.count
0
         @active = User.count(:all, :conditions => "assets_count > 0", :include => :pic)
0
       end
0
- format.fbml do
0
- end
0
+ format.fbml
0
       format.xml do
0
         @users = User.search(params[:q], :limit => 25)
0
         render :xml => @users.to_xml
0
@@ -44,12 +43,13 @@ class UsersController < ApplicationController
0
         @track_plays = @user.track_plays.from_user.find(:all, :limit =>10)
0
         @favorites = Track.favorites.find_all_by_user_id(@user.id, :limit => 5)
0
         @comments = @user.comments.find_all_by_spam(false, :limit => 10)
0
+ render
0
       end
0
+ format.xml { @assets = @user.assets.find(:all, :order => 'created_at DESC')}
0
+ format.rss { @assets = @user.assets.find(:all, :order => 'created_at DESC')}
0
       format.fbml do
0
         @assets = @user.assets.find(:all)
0
       end
0
- format.xml { @assets = @user.assets.find(:all, :order => 'created_at DESC')}
0
- format.rss { @assets = @user.assets.find(:all, :order => 'created_at DESC')}
0
       format.js do render :update do |page|
0
           page.replace 'user_latest', :partial => "latest"
0
         end
...
1
 
...
 
1
0
@@ -1 +1 @@
0
-Subproject commit 8af98c3f8143d7086e15d4938fd56512ed584f2e
0
+Subproject commit d2212c1601dcd67e72e9d52f98347d3285fd7134

Comments

    No one has commented yet.