Skip to content

Instantly share code, notes, and snippets.

View thomascarterx's full-sized avatar

Thomas Carter thomascarterx

View GitHub Profile
This is what I need to be rendered
<li>
<a href="#"><i class="fa fa-magic"></i> Link</a>
</li>
I'm using the <a href="https://github.com/bokmann/font-awesome-rails">font-awesome-rails</a> gem
Here is the helper section from the README, note there isn't a mention of how to use it with a link_to which is what I need.
fa_icon "camera-retro"
This is the gemspec provided by the enginex gem when I used it to create the 'api' engine
# Provide a simple gemspec so you can easily use your enginex
# project in your rails apps through git.
Gem::Specification.new do |s|
s.name = "api"
s.summary = "Insert Api summary."
s.description = "Insert Api description."
s.files = Dir["{app,lib,config}/**/*"] + ["MIT-LICENSE", "Rakefile", "Gemfile", "README.rdoc"]
s.version = "0.0.1"