New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

title_helper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

title_helper

  • 0.4.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

TitleHelper

TitleHelper allows you to keep your attributes synced with your <h1> attributes, which is more SEO friendly. This is 100% done in the view, which is different from some other plugins, who work with a title-method in the controllers.

Example

This method should be used in your layout and your actions.

In your action: <%= title "Edit user #{@user.name}" %>

=>

Edit user Jan De Poorter

In your layout:

<%= title :site_name => 'Foobar' %> # => Edit user Jan De Poorter - Foobar

Copyright (c) 2008 Jan De Poorter, released under the MIT license

FAQs

Package last updated on 20 Aug 2010

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