Blazer

Add Blazer to your Rails app
Icons/chart bar
Used 14 times
Created by
B Benjamin Darcet

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/Vp7s4x"
Template Source

Review the code before running this template on your machine.

run 'bundle add blazer'
rails_command 'generate blazer:install'
rails_command 'db:migrate'

inject_into_file 'app/config/routes.rb', after: 'Rails.application.routes.draw do' do <<~EOF
  mount Blazer::Engine, at: "blazer"
  EOF
end
Comments

Sign up or Login to leave a comment.

© 2022 GoRails, LLC