クラスをつけない場合:
=link_to "回答する", :action => 'show', :anchor => 'answer'
参考:
gutch.hatenablog.com
クラスをつける場合:
?????
失敗したコード:
=button_to "new", question_path, :anchor => 'answer', :method => :get
=link_to "回答する", :action => 'show', :anchor => 'answer', :class => "a btn btn-default"