Closed msmykowski closed 7 years ago
In the case where the last item in the path_info is a parameter, we would want to strip the format type off of this parameter.
e.g. /api/:sport
When requesting /api/:hockey.json, we would want to sport parameter to be "hockey" and not "hockey.json".
Thanks, I release v0.0.6 with this change!
In the case where the last item in the path_info is a parameter, we would want to strip the format type off of this parameter.
e.g. /api/:sport
When requesting /api/:hockey.json, we would want to sport parameter to be "hockey" and not "hockey.json".