add helper and change routers.rb
change layout from erb to slim