Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8924538fca
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.326 kb
module Tolk
class SearchesController < Tolk::ApplicationController
before_filter :find_locale
def show
@phrases = @locale.search_phrases(params[:q], params[:scope].to_sym, params[:page])
end
private
def find_locale
@locale = Tolk::Locale.find_by_name!(params[:locale])
end
end
end
Jump to Line
Something went wrong with that request. Please try again.