adding minify in controllers