From f1d4da70ccb3d298cc7cf1cdcde2748048238dab Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 4 Jul 2018 14:53:57 -0400 Subject: Pokemon embed link opens in new tab --- app/views/pokeviewer/pokemon/_pokemon.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/pokeviewer/pokemon/_pokemon.html.haml b/app/views/pokeviewer/pokemon/_pokemon.html.haml index 573e7eb..7a5f971 100644 --- a/app/views/pokeviewer/pokemon/_pokemon.html.haml +++ b/app/views/pokeviewer/pokemon/_pokemon.html.haml @@ -2,7 +2,7 @@ .pokemon-basics .pokemon-nameline = image_tag(@pokemon.pokeball_icon_path, class: "pokemon-ball") - %span.pokemon-name= link_to_unless_current @pokemon.current.nickname, @pokemon + %span.pokemon-name= link_to_unless_current @pokemon.current.nickname, @pokemon, target: "_blank" %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol .pokemon-level= "Lv. #{@pokemon.current.level}" .pokemon-image -- cgit 1.4.1