class MetaPresenter::Builder::InvalidControllerError
Public Class Methods
new(controller)
click to toggle source
Create a new error
Calls superclass method
# File lib/meta_presenter/builder.rb, line 36 def initialize(controller) super("You tried to present a #{controller.class.name} class, but only a Rails controller or mailer can be presented") end