I think it should probably this controller should be named something else... Maybe common or navbar? Index implies that it only applies to index pages.