Sha256: 4df4a8c0ccf68b5c3030f0804373f75abe0c85234072b224ff3f8a2b9f49f912

Contents?: true

Size: 407 Bytes

Versions: 7

Compression:

Stored size: 407 Bytes

Contents

Rails.application.routes.draw do
  scope PluginRoutes.system_info["relative_url_root"], as: "cama" do
    # root "application#index"
    default_url_options :host => PluginRoutes.system_info["base_domain"]

    # public
    get 'error', as: "error", to: 'camaleon_cms/camaleon#render_error'
    get 'captcha', as: "captcha", to: 'camaleon_cms/camaleon#captcha'
    eval(PluginRoutes.load("main"))
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
camaleon_cms-2.1.1 config/routes.rb
camaleon_cms-2.1.0 config/routes.rb
camaleon_cms-2.0.4.1 config/routes.rb
camaleon_cms-2.0.4 config/routes.rb
camaleon_cms-2.0.3 config/routes.rb
camaleon_cms-2.0.2 config/routes.rb
camaleon_cms-2.0.1 config/routes.rb