Method: ApplicationHelper#license_link

Defined in:
app/helpers/application_helper.rb

Creates a link to the community’s default content license based on site settings.

Returns:

  • (ActiveSupport::SafeBuffer)

    The result of the link_to call.



65
66
67
# File 'app/helpers/application_helper.rb', line 65

def license_link
  link_to SiteSetting['ContentLicenseName'], SiteSetting['ContentLicenseLink']
end