Sha256: 1a5b56833ccd2435d310a2e743f9165e95b5dff81527429536f9df82cecb0703
Contents?: true
Size: 812 Bytes
Versions: 9
Compression:
Stored size: 812 Bytes
Contents
class <%= @platform_module_name %>::Dosser::<%= @version_module_name %>::PortalsController < <%= @platform_module_name %>::Dosser::<%= @version_module_name %>::PresentationController def show render_ok collection: [ { name: '<%= @platform_module_name %> API <%= @version_name %>', links: [ { rel: 'self', href: <%= @platform_name %>_dosser_<%= @version_name %>_portal_url(Unidom::Common::SELF, format: request.format.symbol) }, { rel: 'canonial', href: <%= @platform_name %>_dosser_<%= @version_name %>_portal_url(Unidom::Common::SELF, format: :json ) }, { rel: 'alternate', href: <%= @platform_name %>_dosser_<%= @version_name %>_portal_url(Unidom::Common::SELF, format: :xml ) } ] } ] end end
Version data entries
9 entries across 9 versions & 1 rubygems