Skip to content

Instantly share code, notes, and snippets.

@maecha
Created April 3, 2018 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maecha/d9e9411015ae7bae26b7c2de9813ded0 to your computer and use it in GitHub Desktop.
Save maecha/d9e9411015ae7bae26b7c2de9813ded0 to your computer and use it in GitHub Desktop.
How to use 'Gretel' | Ruby on Rails 5.1.4 | AdminLTE ver2 (with Bootstrap 3.3.6)

README

This is the example of using Gretel.

https://github.com/lassebunk/gretel

First, You have to edit your Gemfile (as like that), and then, You run this command on CLI, and Gretel is installed in your Rails project.

$ bundle install

Plz edit anothor files when you've finished up it.

- breadcrumb :dashboards
h2
'Title
### root
crumb :root do
link 'Home', root_path
end
### dashboard
crumb :dashboards do
link 'Dashboard', dashboards_path
parent :root
end
gem 'gretel'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment