Bugfix : Fixes for controller and views on resource_types