[issue #428] AdvisoriesController moved from its scope
This commit is contained in:
parent
9a0f582a16
commit
5320fc2d3e
|
@ -1,3 +0,0 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Advisories::BaseController < ApplicationController
|
||||
end
|
|
@ -1,5 +1,5 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Advisories::AdvisoriesController < Advisories::BaseController
|
||||
class AdvisoriesController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
before_filter :find_advisory, :only => [:show]
|
||||
load_and_authorize_resource
|
|
@ -34,9 +34,7 @@ Rosa::Application.routes.draw do
|
|||
resources :event_logs, :only => :index
|
||||
end
|
||||
|
||||
scope :module => 'advisories' do
|
||||
resources :advisories, :only => [:index, :show]
|
||||
end
|
||||
resources :advisories, :only => [:index, :show]
|
||||
|
||||
scope :module => 'platforms' do
|
||||
resources :platforms do
|
||||
|
|
Loading…
Reference in New Issue