change colors to variables
require_login new name per github coments
elide unnecessary local assignment
Rails route and link helpers used