myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [3340] trunk/app/controllers/oauth_controller.rb:


From: noreply
Subject: [myexperiment-hackers] [3340] trunk/app/controllers/oauth_controller.rb: Fixed OAuth form causing error when fields are missing
Date: Wed, 23 Jan 2013 15:07:37 +0000 (UTC)

Revision
3340
Author
fbacall
Date
2013-01-23 15:07:36 +0000 (Wed, 23 Jan 2013)

Log Message

Fixed OAuth form causing error when fields are missing

Modified Paths

Diff

Modified: trunk/app/controllers/oauth_controller.rb (3339 => 3340)


--- trunk/app/controllers/oauth_controller.rb	2013-01-23 14:24:06 UTC (rev 3339)
+++ trunk/app/controllers/oauth_controller.rb	2013-01-23 15:07:36 UTC (rev 3340)
@@ -110,6 +110,9 @@
       flash[:notice]="Client Application successfully registered!"
       redirect_to :action=""
     else
+      @permissions = TABLES['REST'][:data]
+      @address@hidden
+      @permissions_for=params[:key_permissions]
       render :action=""
     end
   end

reply via email to

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