Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

initforthe-cookies

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

initforthe-cookies

  • 0.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

initforthe-cookies

Opt-out cookie policy notice engine for rails. Opt-out is implemented by setting a cookie. Irony?

Usage

  • Add 'initforthe-cookies' to gemfile && bundle install
  • Add 'initforthe-cookies' asset loading to css and js manifests
  • Mount the engine at desired location (mount Initforthe::Cookies::Engine, at: '/cookie_policy' in config/routes.rb)
  • Set your app name by creating an initializer in config/initializers, i.e.:
Initforthe::Cookies.setup do |config|
  config.site_name = 'The Initforthe Website'
  config.policy_url = '/pages/cookies'
  config.button_classes = 'btn'
end
  • Call from your layout by <%= cookie_policy %>

License

MIT-LICENSE.

FAQs

Package last updated on 09 Oct 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc