using Gem Friendly_ID for Category and edit views for show public file