Class: ExploreController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ExploreController
- Defined in:
- app/controllers/explore_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'app/controllers/explore_controller.rb', line 2 def index respond_to do |format| format.html { if request.xhr? render partial: params[:section].present? && params[:section].gsub(/[^a-z]/i, '') || "explore" end } end end |