Sha256: 028496eb8f43096876153a284e2e09b0424b2d9f1e025d94c3346750c0268628
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
module MegaBar class FieldsController < ApplicationController include MegaBarConcern before_action ->{ myinit 2 }, only: [:index, :show, :edit, :new] private # Never trust parameters from the scary internet, only allow the white list through. def _params params.require(:field).permit(:model_id, :schema, :tablename, :field, :default_value, :new_field_display, :edit_field_display, :index_field_display, :show_field_display) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mega_bar-0.0.1 | app/controllers/mega_bar/fields_controller.rb |