Add if statement to pages url to show page in ActiveAdmin