cessna 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/cessna.rb +4 -0
  2. data/lib/cessna/version.rb +1 -1
  3. metadata +1 -1
@@ -29,6 +29,10 @@ module Cessna
29
29
  end
30
30
 
31
31
  get '/' do
32
+ if session['hostname']
33
+ redirect :browse
34
+ end
35
+
32
36
  haml :index
33
37
  end
34
38
 
@@ -1,3 +1,3 @@
1
1
  module Cessna
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cessna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: