Radius Networks Assets and Generators for Rails Apps.
Add this line to your application's Gemfile:
gem 'radius-rails', github: "RadiusNetworks/radius-rails"
Note: If the app you are using doesn't use the updated Twitter Bootstrap Theme, then you will want to use the tag v0.1.0
:
gem 'radius-rails', github: "RadiusNetworks/radius-rails", tag: "v0.1.0"
This will give you access to the common Radius Networks assets needed in most web apps.
Stylesheets can be pulled in with the asset pipeline or using Sass:
@import "radius-theme";
You can pull in the favicon by adding the image to the header of your layout:
head
link href="#{image_path("favicon.ico")}" rel="shortcut icon"
Take a look in the app/assets
to see what is included with the gem.
You can generate the error pages in public/
by running the generator:
rails generate radius:error_pages
A few common partials that are needed across apps.
Add the environment_ribbon
partial right after the opening body tag.
body
== render 'radius/environment_ribbon'