summaryrefslogtreecommitdiff
path: root/app/models/page.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/page.rb')
-rw-r--r--app/models/page.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/page.rb b/app/models/page.rb
index d1e7439..ca3a8be 100644
--- a/app/models/page.rb
+++ b/app/models/page.rb
@@ -112,7 +112,7 @@ class Page < ApplicationRecord
112 end 112 end
113 113
114 def template_exists? 114 def template_exists?
115 File.exists? "#{full_public_template_path}.html.erb" 115 File.exist? "#{full_public_template_path}.html.erb"
116 end 116 end
117 117
118 def valid_template 118 def valid_template