module Decidim::ShareableWithToken

A concern with the components needed when you want a model to be publicly shareable skipping authentication, using a token with an expiration time.

Public Instance Methods

shareable_url(_share_token) click to toggle source

Override this method in the included class with the public url for the shareable resource

# File lib/decidim/shareable_with_token.rb, line 21
def shareable_url(_share_token)
  raise NotImplementedError
end