Diff
Modified: branches/discovery/app/controllers/blobs_controller.rb (2530 => 2531)
--- branches/discovery/app/controllers/blobs_controller.rb 2010-11-08 15:47:26 UTC (rev 2530)
+++ branches/discovery/app/controllers/blobs_controller.rb 2010-11-09 09:02:32 UTC (rev 2531)
@@ -57,8 +57,8 @@
respond_to do |format|
format.html {
@pivot_options = pivot_options
- @contributions, @filters, @summary = contributions_list(Contribution, { "type" => "Blob" }, current_user)
- render 'content/index'
+ @pivot = contributions_list(Contribution, params, current_user,
+ :lock_filter => { "type" => "Blob" } )
}
end
end
Modified: branches/discovery/app/controllers/packs_controller.rb (2530 => 2531)
--- branches/discovery/app/controllers/packs_controller.rb 2010-11-08 15:47:26 UTC (rev 2530)
+++ branches/discovery/app/controllers/packs_controller.rb 2010-11-09 09:02:32 UTC (rev 2531)
@@ -30,7 +30,8 @@
respond_to do |format|
format.html {
@pivot_options = pivot_options
- @contributions, @filters, @summary = contributions_list(Contribution, { "type" => "Pack" }, current_user)
+ @pivot = contributions_list(Contribution, params, current_user,
+ :lock_filter => { "type" => "Pack" } )
# index.rhtml
}
end
Added: branches/discovery/app/views/blobs/index.rhtml (0 => 2531)
--- branches/discovery/app/views/blobs/index.rhtml (rev 0)
+++ branches/discovery/app/views/blobs/index.rhtml 2010-11-09 09:02:32 UTC (rev 2531)
@@ -0,0 +1,4 @@
+<h1>Files</h1>
+
+<%= render :partial => "content/index" -%>
+