terminal42 / contao-url-rewrite

Provides a back end module in Contao that allows you to specify url rewrites that are added to the Symfony Route collection
MIT License
15 stars 4 forks source link

Fixed loader always expects a routing collection and table not found #1

Closed Toflar closed 7 years ago

Toflar commented 7 years ago

Returning null is never allowed and when you install the bundle for the first time, there might be a connection already but no table yet so I figured I'd just simplify and catch the exceptions instead of checking if connected and table exists :-)

Feel free to adjust / update etc.