fix module PrettyUrl in activeadmin issue