guard for no params in controller