class Wco::HeadlinesController
def destroy
def destroy @headline = Wco::Headline.find params[:id] authorize! :delete, @headline @headline.delete flash_notice "Probably ok" redirect_to action: :index end
def destroy @headline = Wco::Headline.find params[:id] authorize! :delete, @headline @headline.delete flash_notice "Probably ok" redirect_to action: :index end