Class: Automux::Controller::Messages

Inherits:
Base
  • Object
show all
Defined in:
lib/automux/controller/messages.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Base

#params

Instance Method Summary collapse

Methods inherited from Base

#check_blueprint, #initialize, #notify_error

Methods included from Support::Filters

#after_inherited, #before_filter, #inherited

Methods included from Support::Rendering

#render, #render_file

Constructor Details

This class inherits a constructor from Automux::Controller::Base

Instance Method Details

#errorObject



4
5
6
7
8
# File 'lib/automux/controller/messages.rb', line 4

def error
  error = Automux::Core::Error.new(params[:message])
  @binding = error.get_binding
  render 'error'
end