Skip to content

Commit

Permalink
Move to ApplicationController from PublishController
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Jan 14, 2025
1 parent 189ef7b commit a37d471
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Publish
module Courses
class RatifyingProviderController < PublishController
class RatifyingProviderController < ApplicationController
include CourseBasicDetailConcern
before_action :build_course, only: %i[edit update]
before_action :build_course_params, only: :continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Publish
module Providers
module AccreditedPartnerships
class ChecksController < PublishController
class ChecksController < ApplicationController
def show
provider_partnership_form
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Publish
module Providers
class AccreditedPartnershipsController < PublishController
class AccreditedPartnershipsController < ApplicationController
helper_method :accredited_provider_id

def index; end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Publish
module Providers
module V2
module TrainingProviders
class CourseExportsController < PublishController
class CourseExportsController < ApplicationController
def index
authorize(provider, :can_list_training_providers?)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Publish
module Providers
module V2
module TrainingProviders
class CoursesController < PublishController
class CoursesController < ApplicationController
def index
authorize(provider, :index?)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Publish
module Providers
module V2
class TrainingProvidersController < PublishController
class TrainingProvidersController < ApplicationController
def index
authorize(provider, :can_list_training_providers?)

Expand Down

0 comments on commit a37d471

Please sign in to comment.