Modified master.erb template