Class: Backend::SeoController

Inherits:
BaseController show all
Defined in:
app/controllers/backend/seo_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#breadcrumb, #current_admin, #default_app_locale, #translate_notice

Methods included from Udongo::Cryptography

#crypt

Instance Method Details

#slugifyObject



2
3
4
5
# File 'app/controllers/backend/seo_controller.rb', line 2

def slugify
  result = params[:value] ? params[:value].parameterize : nil
  render json: { result: result }
end