Sha256: bb36f931f2f7146887f9ec6298fe88fa11fa761418f329a580143d280272833a
Contents?: true
Size: 350 Bytes
Versions: 160
Compression:
Stored size: 350 Bytes
Contents
module Comee module Core class UnitsController < ApplicationController include Common def filter units = Unit.ransack(params[:q]).result render_content(units) end private def model_params params.require(:payload).permit(:code, :name, :unit_type, aliases: []) end end end end
Version data entries
160 entries across 160 versions & 1 rubygems