Sha256: 6c7dba50a6035384864768d473b28e57e7bcd607b0e0662d027bfe1872145faf

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

class PlatformModuleName::Dosser::VersionModuleName::PortalsController < PlatformModuleName::Dosser::VersionModuleName::PresentationController

  def show
    render_ok collection: [
      {
        name: 'PlatformModuleName 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

2 entries across 2 versions & 1 rubygems

Version Path
repres-dosser-1.6.1 lib/generators/repres/dosser/platform/templates/app/controllers/portals_controller.rb
repres-dosser-1.6 lib/generators/repres/dosser/platform/templates/app/controllers/portals_controller.rb