lib/generators/ckeditor/templates/ckeditor.rb in ckeditor-3.7.3 vs lib/generators/ckeditor/templates/ckeditor.rb in ckeditor-4.0.0.rc1
- old
+ new
@@ -12,7 +12,10 @@
# config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"]
# Allowed attachment file types for upload.
# Set to nil or [] (empty array) for all file types
# config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"]
+
+ # Setup authorization to be run as a before filter
+ # config.authorize_with :cancan
end
end