Fix bug with nil actions
Fix bug with locale in url