title: Keep last selected tab selected after redirecting the page
body: <p>How can I keep the last selected tab as selected after redirecting to another page and then coming back? For me the first tab is selected as default after redirecting in ruby on rails.</p>