Fix rules problem
This commit is contained in:
parent
76702e0b78
commit
06b57577e3
1 changed files with 2 additions and 2 deletions
4
Rules
4
Rules
|
|
@ -25,7 +25,7 @@ compile "/htaccess" do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
|
||||||
compile /(rss|atom)/ do
|
compile "atom" do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -70,7 +70,7 @@ route "/htaccess" do
|
||||||
"/.htaccess"
|
"/.htaccess"
|
||||||
end
|
end
|
||||||
|
|
||||||
route '/(atom|rss)/' do
|
route "/atom" do
|
||||||
item.identifier.chop + '.xml'
|
item.identifier.chop + '.xml'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue