From 792ed99d4041f084b6a198ca66b24c02f8471192 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Tue, 21 Jan 2014 09:42:17 -0200 Subject: [PATCH] There's no show action for ReadingsController --- app/controllers/readings_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/readings_controller.rb b/app/controllers/readings_controller.rb index 3a761a9..b2550ce 100644 --- a/app/controllers/readings_controller.rb +++ b/app/controllers/readings_controller.rb @@ -1,9 +1,9 @@ include OwnershipAuthentication class ReadingsController < ApplicationController - before_action :authenticate_user!, except: [:show, :index] - before_action :set_reading, only: [:show, :edit, :update, :destroy] - before_action :reading_owner?, except: [:show] + before_action :authenticate_user!, except: [:index] + before_action :set_reading, only: [:edit, :update, :destroy] + before_action :reading_owner?, except: [:new] def new @reading_group_id = params[:reading_group_id] -- libgit2 0.21.2