font awesome for rails code example
Example 1: awesome font rails
fa_icon "camera-retro"
# => <i class="fa fa-camera-retro"></i>
Example 2: font awesome rails
<%= link_to icon('fas', 'edit'), edit_question_path(question) %>
fa_icon "camera-retro"
# => <i class="fa fa-camera-retro"></i>
<%= link_to icon('fas', 'edit'), edit_question_path(question) %>