-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add flexibility to Post setUrl method (#506)
* allow passing parameters when calling setUrl; use current category to build post url * Update components/Posts.php * Fix minor code smell * Update models/Post.php * Update models/Post.php * do not make unnecessary queries * Update models/Post.php Co-authored-by: Ben Thomson <[email protected]> Co-authored-by: Ben Thomson <[email protected]> Co-authored-by: Luke Towers <[email protected]>
- Loading branch information
1 parent
5ccd9a6
commit 610e41a
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters