Sha256: f3bdcc07dd2d9cef40c74ccc37b3ab8b303959e254eb01a429cbc5a72999212c
Contents?: true
Size: 1.17 KB
Versions: 22
Compression:
Stored size: 1.17 KB
Contents
Avo.configure do |config| ## == Routing == config.root_path = '/<%= options[:path] %>' ## == Licensing == config.license = 'community' # config.license_key = ENV['AVO_LICENSE_KEY'] ## == Set the context == config.set_context do # Return a context object that gets evaluated in Avo::ApplicationController end ## == Authentication == # config.current_user_method(&:current_user) # config.authenticate_with do # warden.authenticate! scope: :user # end ## == Authorization == # config.authorization_methods = { # index: 'index?', # show: 'show?', # edit: 'edit?', # new: 'new?', # update: 'update?', # create: 'create?', # destroy: 'destroy?', # } ## == Localization == ## == Customization == # config.app_name = 'Avocadelicious' # config.locale = 'en-US' # config.timezone = 'UTC' # config.currency = 'USD' # config.per_page = 24 # config.per_page_steps = [12, 24, 48, 72] # config.via_per_page = 8 # config.default_view_type = :table # config.id_links_to_resource = false # config.full_width_container = false # config.full_width_index_view = false # config.cache_resources_on_index_view = true end
Version data entries
22 entries across 22 versions & 1 rubygems