Skip to content

Commit

Permalink
don't allow clan creation if member or admin of a clan
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaak committed May 31, 2014
1 parent d3c7e35 commit 3aff758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/home.haml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
%p
No invitations for this account
- clanless_accs = @user.accounts.select{|a| a.clan.nil?}
- unless clanless_accs.empty?
- if not @user.clan
%div.text_content.non_top_post
%h2 Create a new clan
%form#create_clan_form.smallform{:method => "POST", :action => "/clan"}
Expand Down

0 comments on commit 3aff758

Please sign in to comment.