Sha256: d097f9329fc1c29794982af146b3467b3792d80482220774a1319d52abf3b93c

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

module MegaBar
  class TextboxesController < ApplicationController
    include MegaBarConcern
    before_action ->{ myinit 6 },  only: [:index, :show, :edit, :new]
    private
      # Never trust parameters from the scary internet, only allow the white list through.
      def _params
        params.require(:textbox).permit(:field_display_id, :size)
      end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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