remove assetsController and add assets method to controller