Permalink
Browse files

Fix stupid error

  • Loading branch information...
1 parent 4bf42a4 commit b9fce47fe1677ee513f0fae9697bddddb304c73e @mutle committed Jan 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/channels/_form.html.haml
@@ -1,4 +1,4 @@
-=hidden_field_tag "syntax", @post && !@post.new_record? ? @post.markdown? : current_user.markdown? ? "md" : "html", :id => "syntax"
+=hidden_field_tag "syntax", (@post && !@post.new_record? ? @post.markdown? : current_user.markdown?) ? "md" : "html", :id => "syntax"
%p.comment_box_container
=f.text_area :body, :class => 'comment_box'
%p.right

0 comments on commit b9fce47

Please sign in to comment.