Permalink
Browse files

try to fix experimental send_to page

  • Loading branch information...
1 parent 447b7f4 commit a17720609db5544a83436a0bcbd7dc87dbc1339d @alexch committed Nov 20, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 app.rb
  2. +1 −0 init.rb
View
4 app.rb
@@ -289,7 +289,7 @@ def prefs_to_hash prefs
end
get '/send_to' do
- app_page(Raw.new(:params => data)).to_html
+ app_page(Raw.new(:data => params)).to_html
end
# see http://www.google.com/reader/settings?display=edit-extras , click "Send To"
@@ -337,7 +337,7 @@ def prefs_to_hash prefs
app_page(Raw.new(:data => data)).to_html
end
- delete '/send_to_your_mom' do
+ delete '/send_to' do
"not implemented"
end
View
@@ -16,6 +16,7 @@
$:<<path
end
+# todo: unit test name munging code
def require_in dir_name
# require all in/below $root/dir
files = Dir.chdir("#{$root}/#{dir_name}"){Dir.glob("**/*.rb")}

0 comments on commit a177206

Please sign in to comment.