Skip to content

Update UserHelper.php#398

Closed
cercos wants to merge 2 commits into
CakeDC:masterfrom
cercos:master
Closed

Update UserHelper.php#398
cercos wants to merge 2 commits into
CakeDC:masterfrom
cercos:master

Conversation

@cercos

@cercos cercos commented Jul 21, 2016

Copy link
Copy Markdown

Adds ability to authorize a hash link. Useful for linking modal triggers. You supply a hash to the options array with the hash you want and it will authorize the url then swap the link with the hash if authroized.

$this->Url->link('LinkText', [route], ['hash' => '#modal"])

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.2%) to 79.849% when pulling 3992761 on cercos:master into 5627109 on CakeDC:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.2%) to 79.849% when pulling 3992761 on cercos:master into 5627109 on CakeDC:master.

@steinkel

Copy link
Copy Markdown
Member

hey @cercos you could provide a "#" option to the url to generate links with hashes, could you try this instead?

@steinkel steinkel closed this Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants