Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
find_file for view helper
It's a necessary function for using in layouts(including css, js, img files) I'm not found correct path to acces from template to this function.
- Loading branch information
Alexandr
committed
Apr 6, 2014
1 parent
37374af
commit 76bf1a1
Showing
1 changed file
with
17 additions
and
0 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
76bf1a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSS, JS, IMG files shouldn't be in the App folder nor assets folder but in web folder.
76bf1a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True actually. Strange how this didn't occur to me. It wouldn't even be possible to link to files in assets folder (since they are not publicly accesible).
I don't think I should revert it right now, since it doesn't break anything. But how would you use it @Darkspringreen ? Perhaps it's not really needed at all?
76bf1a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not trying to be mean, but if there is no "real" use, there shouldn't be any reason to load the framework. I would like to see @Darkspringreen 's life example of this function.
76bf1a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree.
Lets wait for his reply for a day or so and if none I'll revert the merge.
76bf1a1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright =) I'll remove it then =)