lib/table_setter/app.rb in table_setter-0.2.0 vs lib/table_setter/app.rb in table_setter-0.2.1

- old
+ new

@@ -21,10 +21,10 @@ headers['Cache-Control'] = "public, max-age=#{TableSetter::App.cache_timeout}" last_modified Table.fresh_yaml_time show :index, :tables => Table.all end - ["/:slug/:page", "/:slug"].each do |path| + ["/:slug/:page/?", "/:slug/?"].each do |path| get path do headers['Cache-Control'] = "public, max-age=#{TableSetter::App.cache_timeout}" not_found unless Table.exists? params[:slug] table = Table.new(params[:slug], :defer => true) last_modified table.updated_at \ No newline at end of file