Class: Controller::ServerError

Inherits:
Base show all
Defined in:
lib/controller.rb

Instance Attribute Summary

Attributes inherited from Base

#args, #body, #default_command, #input, #new_route, #prompt, #redirect, #rendered

Instance Method Summary collapse

Methods inherited from Base

before_view, #before_view_file, command_methods, #command_methods, #find_method, hidden_commands, hide_action, #initialize, #load_and_read_file, #redirect_to, #render, #render_template, #rendered?, #route_to, #service, #session, #to_s, #view_dir, #view_file

Constructor Details

This class inherits a constructor from Controller::Base

Instance Method Details

#getObject



198
199
200
# File 'lib/controller.rb', line 198

def get
  render :text=>"Command problem, check the logs."
end