Sha256: 9de538625d844294359244b71c77429bcff2078440617979e2c3e50ec1cc70a9
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
class Admin::PagesController < Admin::BaseController authorize_resource param_method: :strong_params resource(Page, location: proc { params[:stay_in_place] ? edit_polymorphic_path([:admin, resource]) : polymorphic_path([:admin, resource.class]) }, collection_scope: [:sorted]) end
Version data entries
5 entries across 5 versions & 1 rubygems