lib/masterview/extras/app/controllers/masterview_controller.rb in masterview-0.2.0 vs lib/masterview/extras/app/controllers/masterview_controller.rb in masterview-0.2.1
- old
+ new
@@ -66,9 +66,13 @@
template_specs, content_hash = MasterView::TemplateSpec.scan
@template_specs_sorted = template_specs.sort
smart_render 'masterview/admin/list'
end
+ def features
+ smart_render 'masterview/admin/features'
+ end
+
# Rebuild all templates in the application.
# Invoked from the main masterview admin page.
def rebuild_all
files_rebuilt = []
MasterView::TemplateSpec.scan do |template_spec, content_hash|