Signed-off-by: Adrian Hinz <ahinz@voicetelecom.pl>
This commit is contained in:
parent
d312b84507
commit
61e40939bf
|
|
@ -1,3 +1,4 @@
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
protect_from_forgery with: :exception
|
protect_from_forgery with: :exception
|
||||||
|
before_action :authenticate_user!
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
class CustomersController < ApplicationController
|
class CustomersController < ApplicationController
|
||||||
before_action :authenticate_user!
|
|
||||||
|
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@customers = Customer.all
|
@customers = Customer.all
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Invoice Keeper</title>
|
<title>FireStorm - Faktury</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<h1><a href="index.html">Invoice Keeper</a></h1>
|
<h1><a href="index.html">FireStorm - Faktury</a></h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue