Sha256: e38e6296024c945bda8bf8d2e0a41ed6bd04d950f9bdaf4f773a705ac1429cfb
Contents?: true
Size: 503 Bytes
Versions: 3
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module Zizia class CsvImportDetailsController < ApplicationController load_and_authorize_resource with_themed_layout 'dashboard' def index @csv_import_details = Zizia::CsvImportDetail.order(:id).page csv_import_detail_params[:page] end def show @csv_import_detail = Zizia::CsvImportDetail.find(csv_import_detail_params["id"]) end private def csv_import_detail_params params.permit(:id, :page) end end end
Version data entries
3 entries across 3 versions & 1 rubygems