[issue #428] AdvisoriesController moved from its scope

This commit is contained in:
George Vinogradov 2012-05-10 21:17:59 +04:00
parent 9a0f582a16
commit 5320fc2d3e
9 changed files with 2 additions and 7 deletions

View File

@ -1,3 +0,0 @@
# -*- encoding : utf-8 -*-
class Advisories::BaseController < ApplicationController
end

View File

@ -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

View File

@ -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