removed layout render from categories controller