Class: Admin::TemplateController

Inherits:
AdminController
  • Object
show all
Defined in:
app/controllers/admin/template_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



2
3
4
5
# File 'app/controllers/admin/template_controller.rb', line 2

def index
	@template = params[:template].to_s.gsub(/[^a-z0-9\/]/, '_')
	render layout: nil
end