Skip to content

Commit

Permalink
fixed error with venue page when user logged out
Browse files Browse the repository at this point in the history
  • Loading branch information
bsubrama committed Jul 17, 2012
1 parent 0a2b109 commit 801bceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/venues.haml
@@ -1,7 +1,7 @@
.container
.content
%h2 Venues
-if @suser.admin
-if @suser and @suser.admin
%a.btn.btn-primary.btn-large{:href => '/venues/create'}
Add Venue

Expand Down

0 comments on commit 801bceb

Please sign in to comment.