Added support for passing in a .rss extension to force the rendering engine RSS.
This commit is contained in:
parent
e730d2181f
commit
c32ee1a12e
1 changed files with 1 additions and 2 deletions
|
@ -263,8 +263,7 @@ class Controller extends Object
|
|||
$return_type = strtoupper($return_type);
|
||||
|
||||
// Validates the return type against the module
|
||||
// @todo Update RSS class and add RSS back to the list of possible return types
|
||||
if (in_array($return_type, array('JSON', 'XML')) && in_array($return_type, $engines))
|
||||
if (in_array($return_type, array('JSON', 'RSS', 'XML')) && in_array($return_type, $engines))
|
||||
{
|
||||
$engine = $return_type;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue