[Xfce4-commits] <moka:nick/maintainer-improvements> Fix warning of missing variable.

Nick Schermer noreply at xfce.org
Sun Apr 3 15:46:01 CEST 2011


Updating branch refs/heads/nick/maintainer-improvements
         to 130e07e23afc5c3b9956d37ac2a181cb2f195a85 (commit)
       from c1160e518f1a4fa144b62daed587be8203f61d6c (commit)

commit 130e07e23afc5c3b9956d37ac2a181cb2f195a85
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Apr 3 14:17:34 2011 +0200

    Fix warning of missing variable.

 lib/views/permission_denied.erb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/views/permission_denied.erb b/lib/views/permission_denied.erb
index 35ab48a..b14a37d 100755
--- a/lib/views/permission_denied.erb
+++ b/lib/views/permission_denied.erb
@@ -8,7 +8,7 @@
   <% elsif context.is_a? Moka::Models::Maintainer %>
     You are not <%= context.realname %> and your roles include none of <%= roles.to_s %> either.
   <% else %>
-    One of the <%= role.to_s %> roles is required for this.
+    One of the <%= roles.to_s %> roles is required for this.
   <% end %>
 </strong></p>
 <p><a href="javascript:history.back()">Bring me back!</a></p>



More information about the Xfce4-commits mailing list