days 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Days
2
2
  class App < Sinatra::Base
3
3
  get "/admin/login" do
4
- haml :'admin/login'
4
+ haml :'admin/login', layout: false
5
5
  end
6
6
 
7
7
  post "/admin/login" do
@@ -16,7 +16,7 @@ module Days
16
16
  redirect '/admin'
17
17
  else
18
18
  status 401
19
- haml :'admin/login'
19
+ haml :'admin/login', layout: false
20
20
  end
21
21
  end
22
22
 
@@ -2,7 +2,7 @@ module Days
2
2
  class App < Sinatra::Base
3
3
  get "/admin/setup", :setup_only => true do
4
4
  @user = User.new
5
- haml :'admin/setup'
5
+ haml :'admin/setup', layout: false
6
6
  end
7
7
 
8
8
  post "/admin/setup", :setup_only => true do
@@ -13,7 +13,7 @@ module Days
13
13
  redirect '/admin'
14
14
  else
15
15
  status 406
16
- haml :'admin/setup'
16
+ haml :'admin/setup', layout: false
17
17
  end
18
18
  end
19
19
  end
data/lib/days/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Days
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: days
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: