manuscript 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/manuscript/page.rb +0 -2
- data/manuscript.gemspec +1 -1
- data/views/layout.haml +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/manuscript/page.rb
CHANGED
@@ -15,8 +15,6 @@ module Manuscript
|
|
15
15
|
|
16
16
|
def self.find_by_path(path)
|
17
17
|
page_names = path.split("/")
|
18
|
-
LOGGER.info("manuscript --> path: " + path.to_s)
|
19
|
-
LOGGER.info("manuscript --> page_names: " + page_names.inspect)
|
20
18
|
@page = self.main_pages.find_by_name(page_names.delete_at(0))
|
21
19
|
raise ActiveRecord::RecordNotFound unless @page
|
22
20
|
unless page_names.blank?
|
data/manuscript.gemspec
CHANGED
data/views/layout.haml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
%html
|
2
2
|
%head
|
3
|
-
%meta{ "http-equiv"=>"content-type" "content" => "text/html;charset=UTF-8"}
|
3
|
+
%meta{ "http-equiv"=>"content-type", "content" => "text/html;charset=UTF-8"}
|
4
4
|
%title Manuscript, simple content management
|
5
5
|
%link{ :rel=>'stylesheet', :href=>'/css/base.css', :type=>'text/css', :media=>'screen' }
|
6
6
|
%body
|