This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |