Project

lookinside

0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem to tell you which controller and action is rendering the page.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

LookInside

A simple gem to tell you which controller and action is rendering the page.

Installation

LookInside is a Railtie meant for use with Rails.

Simply include it in your Gemfile:

gem 'lookinside'

Helpers

LookInside provides a helper method for layouts as well.

look_inside

The look_inside method can be used like:

<body class="<%= look_inside %>">

This will show you which controller and action rendered the current page. For example, Pages#Home would produce:

<body class="pages#homes">