Skip to content


Subversion checkout URL

You can clone with
Download ZIP


current_page? does not work #1291

jtwalters opened this Issue · 1 comment

2 participants


Suggest creating a current_spree_page method?

related: Cart link shows on cart page (see link_to_cart helper method)

@radar radar referenced this issue from a commit
@radar radar Add current_spree_page? helper because Rails's own current_page? help…
…er was being mischeivous when Spree is mounted at root.

This fixes the issue described in #1291.

This issue is now fixed in @4236a56. Please use current_spree_page? when you're checking if you're on a particular Spree page.

Please be aware that this uses request.fullpath and so may not work on templates rendered by POST requests.

@radar radar closed this
@fonemstr fonemstr referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.