module ErpApp module Desktop module Scaffold class RoleController < ErpApp::Desktop::Scaffold::BaseController active_ext Role do |options| options[:inline_edit] = true options[:use_ext_forms] = false options[:ignore_associations] = true options[:show_id] = true options[:show_timestamps] = true options[:only] = [ {:description => {:required => true, :readonly => false}}, {:internal_identifier => {:required => true, :readonly => false}}, {:external_identifier => {:required => false, :readonly => false}} ] options end end end end end