{"comment":{"url":"https://api.github.com/repos/marianmartinez/ironhack-final-project/comments/11382714","html_url":"https://github.com/marianmartinez/ironhack-final-project/commit/444e6db1e943a98bcb8c117eac910df9af536fd5#commitcomment-11382714","id":11382714,"user":{"login":"oinak","id":87065,"avatar_url":"https://avatars.githubusercontent.com/u/87065?v=3","gravatar_id":"","url":"https://api.github.com/users/oinak","html_url":"https://github.com/oinak","followers_url":"https://api.github.com/users/oinak/followers","following_url":"https://api.github.com/users/oinak/following{/other_user}","gists_url":"https://api.github.com/users/oinak/gists{/gist_id}","starred_url":"https://api.github.com/users/oinak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oinak/subscriptions","organizations_url":"https://api.github.com/users/oinak/orgs","repos_url":"https://api.github.com/users/oinak/repos","events_url":"https://api.github.com/users/oinak/events{/privacy}","received_events_url":"https://api.github.com/users/oinak/received_events","type":"User","site_admin":false},"position":4,"line":42,"path":"app/views/layouts/_navigation.html.erb","commit_id":"444e6db1e943a98bcb8c117eac910df9af536fd5","created_at":"2015-05-27T10:40:30Z","updated_at":"2015-05-27T10:40:30Z","body":"```ruby\r\n<li<%= current_page?(search_path) ? \" class='active'\" : '' %>>\r\n```\r\ntambien puedes usar ```link_to_if``` o ```link_to_unless_current``` y cambiar los estilos entre ```li``` y ```li>a``` en vez de con la clase _active_"}}