Sha256: 5bd4d6d740aec05b0948b4cb6a30d6aeed2515ef79e35d70f26e004958e81efe

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

module MegaBar
  class FieldDisplaysController < ApplicationController
    include MegaBarConcern
     before_action ->{ myinit 4 },  only: [:index, :show, :edit, :new]
     private
        # Never trust parameters from the scary internet, only allow the white list through.
    def _params
      params.require(:field_display).permit(:field_id, :format, :action, :header)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mega_bar-0.0.1 app/controllers/mega_bar/field_displays_controller.rb