[issue #428] Fixed bug with before_filter in advisory

This commit is contained in:
George Vinogradov 2012-07-06 18:23:49 +04:00
parent 49927728cd
commit c1a90872db
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class AdvisoriesController < ApplicationController
load_resource :find_by => :advisory_id
authorize_resource
before_filter :fetch_packages_info
before_filter :fetch_packages_info, :only => [:show]
def index
@advisories = @advisories.scoped(:include => :platforms)