Skip to content

active-path/path-hints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActivePath Path Hints:

Path hints for your Rails 5 partials.

Installation

Add to your Gemfile:

gem 'active_path-path_hints'

Add the initializer config/initializers/active_path.rb and enable ActivePath:

ActivePath.configure do |config|

  config.enabled = true

end

Path hints: (use in development only)

config.path_hints = true

HTML comments are added before and after each partial. Here is sample output:

<!-- start pages/content -->
<p>page content</p>
<!-- end pages/content -->
<!-- start example/test -->
<p>example content</p>
<!-- end example/test -->

Feel free to submit issues or help make it better.

About

Path hints for your Rails 5 partials.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages