Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
de8adda5
Commit
de8adda5
authored
Nov 27, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5748: Smarty `{path` was generating absolute URLs instead of relative ones
parent
6c1bad64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
extensions/smarty/CHANGELOG.md
+1
-1
Extension.php
extensions/smarty/Extension.php
+2
-2
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
No files found.
extensions/smarty/CHANGELOG.md
View file @
de8adda5
...
...
@@ -4,7 +4,7 @@ Yii Framework 2 smarty extension Change Log
2.
0.1 under development
-----------------------
-
no changes in this release.
-
Bug #5748:
`{path`
was generating absolute URLs instead of relative ones (samdark, motzel)
2.0.0 October 12, 2014
...
...
extensions/smarty/Extension.php
View file @
de8adda5
...
...
@@ -77,7 +77,7 @@ class Extension
array_unshift
(
$params
,
$params
[
'route'
])
;
unset
(
$params
[
'route'
]);
return
Url
::
to
(
$params
,
true
);
return
Url
::
to
(
$params
);
}
/**
...
...
@@ -85,7 +85,7 @@ class Extension
*
* Usage is the following:
*
* {
path
route='blog/view' alias=$post.alias user=$user.id}
* {
url
route='blog/view' alias=$post.alias user=$user.id}
*
* where route is Yii route and the rest of parameters are passed as is.
*
...
...
framework/CHANGELOG.md
View file @
de8adda5
...
...
@@ -20,6 +20,7 @@ Yii Framework 2 Change Log
-
Bug #5682: The
`asset`
command would incorrectly combine CSS files when
`UrlManager::linkAssets`
is true (dmvslv)
-
Bug #5702: Parenthesis should be automatically added to
`Validator::whenClient`
to avoid js error (mdmunir, qiangxue)
-
Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
-
Bug #5748: Smarty
`{path`
was generating absolute URLs instead of relative ones (samdark, motzel)
-
Bug #5768: When setting
`data-confirm`
attribute to a submit button, clicking on the button would not trigger form submission (qiangxue)
-
Bug #5780:
`QueryBuilder::batchInsert()`
may cause "undefined index" error (qiangxue)
-
Bug #5833: The
`message`
command fails with a FK constraint error when trying to update messages (qiangxue)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment