Let function used in aplication.html.erb