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
|
||||
protect_from_forgery with: :exception
|
||||
before_action :authenticate_user!
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
class CustomersController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
|
||||
|
||||
|
||||
def index
|
||||
@customers = Customer.all
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Invoice Keeper</title>
|
||||
<title>FireStorm - Faktury</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<%= csrf_meta_tags %>
|
||||
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<div class="col-md-5">
|
||||
<!-- 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 class="col-md-5">
|
||||
|
|
|
|||
Loading…
Reference in New Issue