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.
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 : []
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'
config.ignored_prefix_paths = []
end
Rails.application.config.knitkit.configure!