From 349ccd3af91b051521ad337f46005acb457c1346 Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Mon, 17 Feb 2014 12:14:44 +0800 Subject: [PATCH] added before filter for clients actions --- app/controllers/clients_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/clients_controller.rb b/app/controllers/clients_controller.rb index 84875d4..3c32428 100644 --- a/app/controllers/clients_controller.rb +++ b/app/controllers/clients_controller.rb @@ -1,6 +1,6 @@ class ClientsController < ApplicationController 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.json