Blazer
Add Blazer to your Rails app
Used 25 times
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