before_filter :authenticate_author, :only => [:new, :create, :edit, :update, :destroy]
else
before_filter :authenticate_reader, :only => [
- :index, :show, :play, :by_story, :by_panel, :by_author, :count, :count_by_story, :count_by_panel, :count_by_author
+ :index, :show, :play, :by_story, :by_panel, :by_author
]
before_filter :authenticate_user, :only => [:new, :create, :edit, :update, :destroy]
before_filter :authenticate_author, :only => [:new, :create, :edit, :update, :destroy]
end
end
- def count
- list_count
- end
-
- def count_by_story
- list_count
- end
-
- def count_by_panel
- list_count
- end
-
- def count_by_author
- list_count
- end
-
def new
set_new
respond_to do |format|