Skip to content

austinrfnd/obscura_linka

Repository files navigation

This is a Rails Engine. That adds a couple of things.

Installation

This has only been tested on Rails 4.1.1

Add this line to your application's Gemfile:

gem 'obscura_linka'

Usage

  # In the views
  # this link href will be obscured
  # It will look like: <a href='' data-href="xxux://xuxuxm.nv8vjv" class='rot_13'>my link</a>
  <%= obscura_link_to('my link', root_path) %>
  # In the layout include obscura link to's javascripts
  <%= javascript_include_tag('obscura_linka/application') %>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published