projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38a74cf
)
Remove unused method
author
Tom Hughes
<tom@compton.nu>
Sun, 1 Mar 2015 16:17:08 +0000
(16:17 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 1 Mar 2015 16:17:08 +0000
(16:17 +0000)
app/controllers/swf_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/swf_controller.rb
b/app/controllers/swf_controller.rb
index b7ec2714e7b64987cd2bd75e9d97b3a804170624..9800b2049f39faff81f30160df2bcb9fa606fb69 100644
(file)
--- a/
app/controllers/swf_controller.rb
+++ b/
app/controllers/swf_controller.rb
@@
-213,8
+213,4
@@
class SwfController < ApplicationController
def lat2y(a)
180 / Math::PI * Math.log(Math.tan(Math::PI / 4 + a * (Math::PI / 180) / 2))
end
-
- def sqlescape(a)
- a.gsub("'", "''").gsub(92.chr, 92.chr + 92.chr)
- end
end