bowler-framework / Bowler

RESTful Web Framework based on Scala, built on top of Scalatra & Scalate
http://bowlerframework.org
BSD 3-Clause "New" or "Revised" License
119 stars 13 forks source link

Unable to integrate controller as Trait instead of Class #15

Closed aloiscochard closed 12 years ago

aloiscochard commented 12 years ago

When controllers are instantiated using mix-in instead of declaring them as class (root type isn't Controller) they are not detected and active in bowler.

Example: http://pastie.org/2393166

Thanks a lot!

NoelKennedy commented 12 years ago

This is my issue too, its to do with registering super class methods: http://groups.google.com/group/bowler-users/browse_thread/thread/7ac54e757da2a947

wfaler commented 12 years ago

Fixed, available in git master as well as in the 0.5-SNAPSHOT version