enonic / app-rss

Apache License 2.0
2 stars 6 forks source link

Don't run controller code when viewing template directly in Content Studio #16

Closed Bellfalasch closed 7 years ago

Bellfalasch commented 7 years ago

Code will crash when running the controller without any content specifications. Simple to safe guard and check before running. Make sure we don't crash things. Rather show some instructions here? Like "Go and create a new content of type RSS on your site and configure it, resort to our readme/docs for help".