[issue #428] Fixed bug with before_filter in advisory
This commit is contained in:
parent
49927728cd
commit
c1a90872db
|
@ -5,7 +5,7 @@ class AdvisoriesController < ApplicationController
|
||||||
load_resource :find_by => :advisory_id
|
load_resource :find_by => :advisory_id
|
||||||
authorize_resource
|
authorize_resource
|
||||||
|
|
||||||
before_filter :fetch_packages_info
|
before_filter :fetch_packages_info, :only => [:show]
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@advisories = @advisories.scoped(:include => :platforms)
|
@advisories = @advisories.scoped(:include => :platforms)
|
||||||
|
|
Loading…
Reference in New Issue