days 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/days/app/admin/session.rb +2 -2
- data/lib/days/app/admin/setup.rb +2 -2
- data/lib/days/version.rb +1 -1
- metadata +1 -1
@@ -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
|
|
data/lib/days/app/admin/setup.rb
CHANGED
@@ -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