Sha256: 2d61c759432f5e33b2c3e0c722a7d0c9b9dbec39534a37b23a4e6d66823bb5b0

Contents?: true

Size: 498 Bytes

Versions: 25

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

module Admin
  # SeosController
  class SeosController < AdminController
    before_action :authorization

    def sitemap
      @sitemap = Seo.new
    end

    def robots
      @robots = Seo.new
    end

    def editor_save
      Seo.save_sitemap(params[:ruby]) if params[:ruby]
      Seo.save_robots(params[:txt]) if params[:txt]
    end

    private

    def authorization
      authorize Seo
    end

    def show_history
      get_history(Seo)
    end
  end
end

Version data entries

25 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.21 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.20 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.19 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.18 testing-with-2.1.18/app/controllers/admin/seos_controller.rb
keppler-2.1.18 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.17 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.16 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.15 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.14 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.13 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.12 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.11 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.10 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.9 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.8 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.7 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.6 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.5 installer/core/app/controllers/admin/seos_controller.rb
keppler-2.1.4 installer/core/app/controllers/admin/seos_controller.rb