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