added templates view url for index and detail food