added before filter for clients actions

This commit is contained in:
Saurabh Bhatia 2014-02-17 12:14:44 +08:00
parent d8dfc758bf
commit 349ccd3af9
1 changed files with 1 additions and 1 deletions

View File

@ -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