upgrade refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module Suppliers
|
||||
class PagesController < Suppliers::ApplicationController
|
||||
prepend_before_action :find_page, only: [:show]
|
||||
before_action :find_page, only: [:show]
|
||||
def index
|
||||
@pages = Page.all_for_suppliers(locale: params[:locale])
|
||||
render json: @pages
|
||||
|
||||
Reference in New Issue
Block a user