Module: Verge::Client::AssetHelper
- Defined in:
- lib/verge/client.rb
Instance Method Summary collapse
-
#verge_javascript_tag ⇒ Object
Return the javascript tag that include the token if the user’s authenticated.
Instance Method Details
#verge_javascript_tag ⇒ Object
Return the javascript tag that include the token if the user’s authenticated
9 10 11 |
# File 'lib/verge/client.rb', line 9 def verge_javascript_tag "<script type=\"text/javascript\" src=\"#{Verge::Client.server_url}/token.js\"></script>" end |