added before filter for clients actions
This commit is contained in:
parent
d8dfc758bf
commit
349ccd3af9
|
@ -1,6 +1,6 @@
|
||||||
class ClientsController < ApplicationController
|
class ClientsController < ApplicationController
|
||||||
before_action :set_client, only: [:show, :edit, :update, :destroy]
|
before_action :set_client, only: [:show, :edit, :update, :destroy]
|
||||||
before_filter :authenticate_user!, only: [:new, :edit, :create, :update, :destroy]
|
before_filter :authenticate_user!
|
||||||
|
|
||||||
# GET /clients
|
# GET /clients
|
||||||
# GET /clients.json
|
# GET /clients.json
|
||||||
|
|
Loading…
Reference in New Issue