Welcome Guest, Not a member yet? Register   Sign In
Routing question
#1

[eluser]J3roen[/eluser]
Just working on my first real project using CI and I stumbled upon a routing question.

Situation:

/controller/method/possibly/some/extra/vars/name.extension
/js/load/h/100/w/250/somefile.js (for example)

This works perfectly; then I thought why not use it for CSS also using a route.

/css/load/h/100/w/250/somefile.css

How can I get this to work? The segments between load and somefile are all optional could even be more segments.

Obviously just routing css to js doesn't work. Any help appreciated! Smile


Messages In This Thread
Routing question - by El Forum - 01-11-2008, 08:27 PM
Routing question - by El Forum - 01-13-2008, 03:09 AM
Routing question - by El Forum - 01-13-2008, 05:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB