/:controller/:action/:params
Is it possible to set params optional, e.g.: when action is 'add', no param needed, and when 'update', the param could be 'username' or 'password'.
Not sure if the default way works, I add two different rules.
/:controller/:action/:params
Is it possible to set params optional, e.g.: when action is 'add', no param needed, and when 'update', the param could be 'username' or 'password'.
Not sure if the default way works, I add two different rules.