Class: Mosaico::TemplatesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Mosaico::TemplatesController
- Defined in:
- app/controllers/mosaico/templates_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
3 4 5 6 |
# File 'app/controllers/mosaico/templates_controller.rb', line 3 def show template = Mosaico.find_template(params[:template_name]) render inline: template.template_content end |