show_common @record, show_path: url_for(action: :show, id: @record.id), back_path: url_for(action: :index), edit_path: url_for(action: :edit, id: @record.id)