denny/ShinyCMS-ruby

View on GitHub
plugins/ShinySearch/config/routes.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

# ShinySearch plugin for ShinyCMS ~ https://shinycms.org
#
# Copyright 2009-2024 Denny de la Haye ~ https://denny.me
#
# ShinyCMS is free software; you can redistribute it and/or modify it under the terms of the GPL (version 2 or later)

ShinySearch::Engine.routes.draw do
  scope format: false do
    # Main site
    get  'search', to: 'search#index'
    post 'search', to: 'search#index'
  end
end