Remove if statement to pages url to index page in ActiveAdmin