Set allow_editing in Precious::App to true by default. Closes #911
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ module Precious
|
||||
@css = settings.wiki_options[:css]
|
||||
@js = settings.wiki_options[:js]
|
||||
@mathjax_config = settings.wiki_options[:mathjax_config]
|
||||
@allow_editing = settings.wiki_options[:allow_editing]
|
||||
@allow_editing = settings.wiki_options.fetch(:allow_editing, true)
|
||||
end
|
||||
|
||||
get '/' do
|
||||
|
||||
Reference in New Issue
Block a user