Class: App::Views::Error

Inherits:
Layout
  • Object
show all
Defined in:
app/views/error.rb

Instance Method Summary collapse

Methods inherited from Layout

#page_title, #selected_item

Methods included from App::ViewHelpers

#add_book_button, #admin, #admin?, #app_name, #base_url, #book_permitted, #count_instances, #external_link_glyph, #flag_modal_button, #flags, #get_instances_per_page, #instance_permitted, #instances_by_names, #javascripts, #json_file, #logged_in, #map_height, #metadata, #not_empty, #place_permitted, #places, #rendered_flash, #stylesheets, #user_name

Instance Method Details

#errorObject


5
6
7
# File 'app/views/error.rb', line 5

def error
  @e
end

#error_textObject


9
10
11
# File 'app/views/error.rb', line 9

def error_text
  @error_text ? @error_text : ""
end