moved template resource in deafult.rb