Sha256: 53befb713e9d00c38c05b49d935615e9b82e0d8497d35a2907b88fdefb69ec05
Contents?: true
Size: 465 Bytes
Versions: 9
Compression:
Stored size: 465 Bytes
Contents
module YariiEditor class DashboardController < ApplicationController before_action :pull_if_needed, except: [:list] def index @custom_lists = [] end def list model_details = current_site.content_models[params[:model_type]] list = render_to_string(formats: [:html], partial: 'yarii_editor/dashboard/inner_list', locals: {model_type: params[:model_type], model_details: model_details}) render html: list end end end
Version data entries
9 entries across 9 versions & 1 rubygems