This commit is contained in:
Petko Bordjukov 2014-09-02 18:31:18 +03:00
parent 1321eb67cf
commit 884d8083fa
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class WorkshopsController < ApplicationController
before_filter :authenticate_user!
before_action :assign_lecture, only: [:show, :edit, :update]
before_action :assign_workshop, only: [:show, :edit, :update]
def index
@workshops = Workshop.where user: current_user