saral 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saral/version.rb +1 -1
- data/lib/saral.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9480540579fa2bc256351842a4f22266de60a160
|
4
|
+
data.tar.gz: 8c5e961d4111193d7f931f7888450f207db0a13c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 598330a6a1b76e8740482eca64becd99f844362bc0568eeea79eb244f9d09fd8bb3049b10f04d88dcecd68887a073bc82747d284825cbde11dee8fff4cbc6d6b
|
7
|
+
data.tar.gz: f3e0347d7f570df75c6bca7d5699c035af3fbb45782e796cb1efcba32624ab6288fc1ffb8f352b4d6b32afd2d558da70b1e36ed1b72c28024a1047be94a688d5
|
data/lib/saral/version.rb
CHANGED
data/lib/saral.rb
CHANGED
@@ -10,7 +10,7 @@ module Saral
|
|
10
10
|
class Application
|
11
11
|
def call(env)
|
12
12
|
begin
|
13
|
-
return [302,{"Location" => "http://
|
13
|
+
return [302,{"Location" => "http://saral-street-view.herokuapp.com/homes/index"},[]] if env["PATH_INFO"] == "/"
|
14
14
|
klass, act = get_controller_and_action(env)
|
15
15
|
controller = klass.new(env)
|
16
16
|
text = controller.send(act)
|