Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
helper = Helper.new and helper.link_to(:foo)
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
pkg
.gitignore
README.md
Rakefile
rails_helper.gemspec

README.md


NAME

rails_current


SYNOPSIS

most rails apps scatter a bunch of @currentfoobar vars everywhere. don't do that. do

Current.user = ...

if Current.user

if Current.account

etc.

out of the box it's loaded with Current.controller

gem 'rails-current', :require => 'current'

Something went wrong with that request. Please try again.