Class: MailyHerald::Webui::LogsController

Inherits:
ResourcesController show all
Defined in:
app/controllers/maily_herald/webui/logs_controller.rb

Instance Method Summary collapse

Methods inherited from ResourcesController

#create, #destroy, #edit, #index, #new, #show, #update

Methods inherited from ApplicationController

#expert_mode?, #work_mode

Methods included from MenuManager::ControllerExtensions

included

Methods included from Breadcrumbs::ControllerExtensions

included

Instance Method Details

#previewObject



6
7
8
9
10
# File 'app/controllers/maily_herald/webui/logs_controller.rb', line 6

def preview
  @log = MailyHerald::Log.find params[:id]

  render layout: "maily_herald/webui/modal"
end