Skip to content

Commit

Permalink
try to fix experimental send_to page
Browse files Browse the repository at this point in the history
  • Loading branch information
alexch committed Nov 20, 2011
1 parent 447b7f4 commit a177206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
Expand Down

0 comments on commit a177206

Please sign in to comment.