Class: CiteController

Inherits:
ApplicationController show all
Defined in:
public/app/controllers/cite_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#archivesspace, can_access?, permission_mappings, set_access_control

Instance Method Details

#showObject

this is the backupt to producing the citation in the absence of javascript



4
5
6
7
8
9
# File 'public/app/controllers/cite_controller.rb', line 4

def show
  @url = params.fetch(:uri, '')
  @cite = params.fetch(:cite, '')
  @page_title = I18n.t('actions.cite')
  render
end