You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: pages_controller.rb
    path of file: ./repos/property_web_builder/app/controllers/pwb
    
    the code of the file until where you have to start completion: require_dependency 'pwb/application_controller'

mo
    
    def show_page
      default_page_slug = "home"
      page_slug = params[:page_slug] || default_page_slug
      @page = Pwb::Page.find_by_slug page_slug
      if @page.blank?
        @page = Pwb::Page.find_by_slug default_page_slug
      end