public
Description: Open source non-commercial music platform: http://alonetone.com
Homepage: http://alonetone.com
Clone URL: git://github.com/sudara/alonetone.git
Search Repo:
fix snafu w/ playlists
sudara (author)
Sat May 03 12:49:23 -0700 2008
commit  0212385700491fe4a58d3f51cd12d2dff64fdb7a
tree    6f319200d3750e2ecb72c47d4071b749990b0cc1
parent  bccee7c2cce021e63d93015361733c47ce8f70ed
...
31
32
33
34
 
35
36
37
...
31
32
33
 
34
35
36
37
0
@@ -31,7 +31,7 @@
0
   end
0
   
0
   def notice_hidden?(notice)
0
- logged_in? && current_user. && current_user.settings.present?('hide_notice') && current_user.settings['hide_notice'].present?(notice)
0
+ logged_in? && current_user.present?(:settings) && current_user.settings.present?('hide_notice') && current_user.settings['hide_notice'].present?(notice)
0
   end
0
   
0
   def setting(symbol_or_string)
...
1
 
...
 
1
0
@@ -1,2 +1,2 @@
0
-<%= render :partial => 'assets/asset', :object => listen.asset if listen.asset%>
0
+<%= render :partial => 'playlists/asset', :object => listen.asset if listen.asset%>
...
4
5
6
7
 
8
9
...
4
5
6
 
7
8
9
0
@@ -4,7 +4,7 @@
0
   </div>
0
   
0
   <div class="scriptaculous">
0
- <%= render :partial => 'asset', :collection => @assets %>
0
+ <%= render :partial => 'playlists/asset', :collection => @assets %>
0
   </div>
0
 </div>
...
8
9
10
 
11
12
13
...
8
9
10
11
12
13
14
0
@@ -8,6 +8,7 @@
0
 Spec::Runner.configure do |config|
0
   config.use_transactional_fixtures = true
0
   config.use_instantiated_fixtures = false
0
+ config.integrate_views = true
0
   config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
0
 
0
 

Comments

    No one has commented yet.