lib/gollum/frontend/views/create.rb in gollum-1.3.1 vs lib/gollum/frontend/views/create.rb in gollum-1.4.2

- old
+ new

@@ -6,19 +6,19 @@ attr_reader :page, :name def title "Create a new page" end - + def is_create_page true end - + def is_edit_page false end - + def format @format = (@page.format || false) if @format.nil? && @page @format.to_s.downcase end @@ -36,9 +36,13 @@ @name.gsub('-', ' ') end def formats super(:markdown) + end + + def default_markup + Precious::App.settings.default_markup end end end end