Sha256: 7edb318a660f18ecf31a86b2c3e307df0f0900d8288cfdc63eb657c844c26e23
Contents?: true
Size: 348 Bytes
Versions: 160
Compression:
Stored size: 348 Bytes
Contents
module Comee module Core class UnitConversionsController < ApplicationController include Common def index super do UnitConversion.includes(:from, :to).all end end private def model_params params.require(:payload).permit(:from_id, :to_id, :factor) end end end end
Version data entries
160 entries across 160 versions & 1 rubygems