Details
-
Type:
Task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Examples
-
Labels:None
-
Number of attachments :
Description
Being able to map url's to friendlier patterns is not inherently supported by waffle. Instead of implementing this into waffle we should take advantage of UrlRewrite. Updating our example(s) would be a good starting point.
Example
/context/mycontroller?method=foobar|1|2
should map to:
/context/mycontroller/foobar/1/2
additionally need to ignore certain patterns (css, js, png's, etc)
<rule>
<from>^(.(.jpg|.gif|.css|.js$|/errorpages/|.ico).)$</from>
<to last="true">$1</to>
</rule>