def admin_for(*rsrcs, &block)
      options = rsrcs.extract_options!
      rsrcs.map!(&:to_sym)

      concern :pageable do
        collection do
          get '/page/:page', action: :index, as: 'page'
        end
      end

      options[:concerns] = :pageable

      namespace :admin do
        rsrcs.each do |r|
          resources(r, options, &block)
        end
      end
    end
def admin_for(*rsrcs, &block)
      options = rsrcs.extract_options!
      rsrcs.map!(&:to_sym)

      concern :pageable do
        collection do
          get '/page/:page', action: :index, as: 'page'
        end
      end

      options[:concerns] = :pageable

      namespace :admin do
        rsrcs.each do |r|
          resources(r, options, &block)
        end
      end
    end
Public: Generates default admin CRUD routes for resources.

 Returns a route.