Sha256: 96fd218bbfd3cf95a7b5dc5f4f1efe55f52c848ec0f79186491d37f6351c151d

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

module Refinery
  module RaceRegistrations
    module Admin
      class RegistrationsController < ::Refinery::AdminController

        crudify :'refinery/race_registrations/registration',
                :order => "position DESC",
                :xhr_paging => true

        protected

        def registration_params
          params.require(:registration).permit(:title, :locality, :race_date, :is_active, :start_date, :end_date, :position, :group_id)
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-registrations-0.2.1 app/controllers/refinery/race_registrations/admin/registrations_controller.rb