myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2435] trunk/app/controllers: authorise on curren


From: noreply
Subject: [myexperiment-hackers] [2435] trunk/app/controllers: authorise on current user for main tab lists
Date: Thu, 17 Jun 2010 16:25:37 -0400 (EDT)

Revision
2435
Author
dgc
Date
2010-06-17 16:25:36 -0400 (Thu, 17 Jun 2010)

Log Message

authorise on current user for main tab lists

Modified Paths

Diff

Modified: trunk/app/controllers/blobs_controller.rb (2434 => 2435)


--- trunk/app/controllers/blobs_controller.rb	2010-06-17 12:49:06 UTC (rev 2434)
+++ trunk/app/controllers/blobs_controller.rb	2010-06-17 20:25:36 UTC (rev 2435)
@@ -51,7 +51,7 @@
 
   # GET /files
   def index
-    @contributions = Contribution.contributions_list(Blob, params)
+    @contributions = Contribution.contributions_list(Blob, params, current_user)
     respond_to do |format|
       format.html # index.rhtml
     end

Modified: trunk/app/controllers/packs_controller.rb (2434 => 2435)


--- trunk/app/controllers/packs_controller.rb	2010-06-17 12:49:06 UTC (rev 2434)
+++ trunk/app/controllers/packs_controller.rb	2010-06-17 20:25:36 UTC (rev 2435)
@@ -27,7 +27,7 @@
 
   # GET /packs
   def index
-    @contributions = Contribution.contributions_list(Pack, params)
+    @contributions = Contribution.contributions_list(Pack, params, current_user)
     respond_to do |format|
       format.html # index.rhtml
     end

Modified: trunk/app/controllers/workflows_controller.rb (2434 => 2435)


--- trunk/app/controllers/workflows_controller.rb	2010-06-17 12:49:06 UTC (rev 2434)
+++ trunk/app/controllers/workflows_controller.rb	2010-06-17 20:25:36 UTC (rev 2435)
@@ -213,7 +213,7 @@
   def index
     respond_to do |format|
       format.html do
-        @contributions = Contribution.contributions_list(Workflow, params)
+        @contributions = Contribution.contributions_list(Workflow, params, current_user)
         # index.rhtml
       end
       format.rss do

reply via email to

[Prev in Thread] Current Thread [Next in Thread]