Sha256: b0a6025fc45e216075ca73541f17d6cf53713e0c976faceb4db41781c9bc144e
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module MegaBar class ModelDisplaysController < ApplicationController include MegaBarConcern before_action ->{ myinit 3 }, only: [:index, :show, :edit, :new] private # Never trust parameters from the scary internet, only allow the white list through. def _params params.require(:model_display).permit(:model_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/model_displays_controller.rb |