Replies: 1 comment 2 replies
-
I'm not exactly clear on what you're looking to return, but would using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found i use
current_page
very frequently, only thecurrent_page("some_path")
is not enough,is there a way to return current_page(a url on action)?
My current workaround is use
current_path
like following:I really consider current_page? is not so useful, because there are so many cases which need compare a something with
current_page
string.Thanks
Beta Was this translation helpful? Give feedback.
All reactions