Commit 06406fc6746416f1cc07c93a7c854c418f133935:
for shane
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
www/board/agenda/routes.rb | +++++
------------------------------------------------------------
5 changes: 5 additions, 0 deletions.
------------------------------------------------------------
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 26e6b7a..4a00565 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -115,6 +115,11 @@
_html :'main'
end
+# append slash to agenda page if not present
+get %r{/(\d\d\d\d-\d\d-\d\d)$} do |date|
+ redirect to("/#{date}/")
+end
+
# posted actions
post '/json/:file' do
_json :"actions/#{params[:file]}"