myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2670] trunk/app/views/oauth/index.rhtml: Quick t


From: noreply
Subject: [myexperiment-hackers] [2670] trunk/app/views/oauth/index.rhtml: Quick temporary hack to stop erroring after deleting a client_application.
Date: Fri, 12 Aug 2011 12:47:32 -0400 (EDT)

Revision
2670
Author
dtm
Date
2011-08-12 12:47:32 -0400 (Fri, 12 Aug 2011)

Log Message

Quick temporary hack to stop erroring after deleting a client_application.

Modified Paths

Diff

Modified: trunk/app/views/oauth/index.rhtml (2669 => 2670)


--- trunk/app/views/oauth/index.rhtml	2011-08-12 16:33:25 UTC (rev 2669)
+++ trunk/app/views/oauth/index.rhtml	2011-08-12 16:47:32 UTC (rev 2670)
@@ -4,6 +4,7 @@
 <table>
 	<tr><th>Application</th><th>Issued</th><th>&nbsp;</th></tr>
 	<address@hidden do |token|%>
+<% if token.client_application -%>
 		<tr>
 			<td><%=link_to token.client_application.name,token.client_application.url%></td>
 			<td><%=token.authorized_at%></td>
@@ -14,6 +15,7 @@
 				<%end%>
 			</td>
 		</tr>
+<%end%>
 	<%end%>
 	
 </table>

reply via email to

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