Class: Backend::SeoController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- BaseController
- Backend::SeoController
- 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
Instance Method Details
#slugify ⇒ Object
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 |