Class: Tolk::SearchesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tolk::SearchesController
- Defined in:
- app/controllers/tolk/searches_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#authenticate, #ensure_no_primary_locale
Methods included from Pagination::Methods
#pagination_method, #pagination_param
Instance Method Details
#show ⇒ Object
5 6 7 |
# File 'app/controllers/tolk/searches_controller.rb', line 5 def show @phrases = @locale.search_phrases(params[:q], params[:scope].to_sym, params[:k], params[pagination_param]) end |