Skip to content

Commit

Permalink
Merge pull request #2815 from skateman/provider-list-listnav
Browse files Browse the repository at this point in the history
Force the showtype to nil when displaying the provider list page 🐍
  • Loading branch information
mzazrivec committed Nov 23, 2017
2 parents e1e2b1a + 32fb5d7 commit 56d76ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/controllers/ems_infra_controller.rb
Expand Up @@ -26,6 +26,11 @@ def new_ems_path
new_ems_infra_path
end

def show_list
@showtype = nil
super
end

def index
redirect_to :action => 'show_list'
end
Expand Down

0 comments on commit 56d76ae

Please sign in to comment.