We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4374a7 commit a89b0feCopy full SHA for a89b0fe
1 file changed
app/views/shared/_ask.html.haml
@@ -2,7 +2,7 @@
2
%h2 Have A Question?
3
%p Ask away! No question is too big or too small.
4
- if current_user
5
- = link_to "Ask a Question", new_resource_path, :class => "btn success"
+ = link_to "Ask a Question", new_question_path, :class => "btn success"
6
- else
7
%p Log in to ask a question
8
= link_to "Log In", login_path, :class => "btn success"
0 commit comments