Registry / web-framework / active-link-to

active-link-to

JSON →
library1.0.5rbrubygemsunverified

Provides a helper method to determine if a link or navigation item is selected based on the current page or other arbitrary conditions.

gem install active_link_to
INSTALL
IMPORT
SIG · ACTIVE-LINK-TO
A
active-link-to
web-frameworkrubyv1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveLinkTo
require 'active_link_to'

Use the helper to conditionally style navigation links.

require 'active_link_to' # In a Rails view: # <%= link_to 'Home', root_path, class: active_link_to_class(root_path) %>
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
40
OpenAI (training)
1
Resources
active-link-to — gem install active-link-to · libregistry