Knitkit CMS

Knitkit is an application that sits on top of the Compass AE framework that adds a fully functional CMS to Compass AE. It integrates with Amazon S3 and has extensions for our Erp Modules.

Logo

Initializer Options

  • unauthorized_url
    • Url to redirect to when user attempts to navigate to a page they are not authorized to view.
    • Default : '/unauthorized'
  • ignored_prefix_paths
    • Array of paths for Knitkit to ignore.
    • Default : []
  • file_assets_location
    • Location, in respect to Rails.root, that you want files to upload to and created in within knikit.
    • Default : 'knitkit_assets'

Override Initializer

To override these settings simple create a knikit.rb file in your initializers and override the config options you want

Rails.application.config.knitkit.configure do |config|
  config.unauthorized_url     = '/unauthorized'
  config.ignored_prefix_paths = []
  config.file_assets_location = 'knitkit_assets'
end
Rails.application.config.knitkit.configure!