Exception: Mack::Errors::DoubleRender

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mack/errors/errors.rb

Overview

Raised when someone calls render twice in one action

Example:

class FooController
  include Mack::Controller
  def index
    render(:text,  "Hello World")
    render(:action, "edit")
  end
end