Sha256: ba0f00fe287d883b44fcb93caaf68154ef7e954f9221e8b0530215fe0aff4bea
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
class ParametersController < ApplicationController preserve :per_page, :page, only: :index preserve :order, prefix: 'preserved' def index render json: request_parameters end def create render json: request_parameters end private def request_parameters params.except(:controller, :action) end end
Version data entries
3 entries across 3 versions & 1 rubygems