Class: MarkdownRecord::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
ControllerHelpers
Defined in:
app/controllers/markdown_record/application_controller.rb

Direct Known Subclasses

ContentController, HtmlController, JsonController

Instance Method Summary collapse

Methods included from ControllerHelpers

#content_fragment, #download_html, #download_json, #render_html, #render_json

Instance Method Details

#render_not_foundObject



7
8
9
# File 'app/controllers/markdown_record/application_controller.rb', line 7

def render_not_found
  head :not_found unless content_fragment
end