Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Fixes broken cuke
Browse files Browse the repository at this point in the history
  • Loading branch information
mezis committed Aug 26, 2013
1 parent 978e9fe commit af21504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/ideas/_action.html.haml
Expand Up @@ -57,7 +57,7 @@

/ vote
- if idea.can_vote»?
- if can?(:create, idea.votes.build)
- if can?(:vote, idea)
- if vote = current_user.votes.on_idea(idea).first
%li
= link_to idea_vote_path(idea, vote), method: :delete, class: 'btn btn-block', title: s_('Tooltip|By pressing this you cancel your endorsement of this story.<br/>You will get back %{points} %{karma_icon}.<br/>Make sure you add a comment to explain why you canceled!') % { points: -§.karma.vote, karma_icon: user_karma_symbol }, :'data-placement' => placement do
Expand Down

0 comments on commit af21504

Please sign in to comment.