Andy Lampert
Andy Lampert

Reputation: 67

Rails 3 - Can I get a list of all the view files (partials included) that are being rendered on a given page?

Is this possible? I was asked to generate a list of the views being rendered in our admin portal that can then be added to a layout file. Hope that makes sense.

Thanks!

Upvotes: 0

Views: 60

Answers (1)

Eugene Domosedov
Eugene Domosedov

Reputation: 130

Use gem 'rails-footnotes', this is show all partials, action, variables, and other things in given page.

Upvotes: 1

Related Questions