aboutsummaryrefslogtreecommitdiff
blob: dda167e5d47b99ee13192c4b2be37f8851db3c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class FrontController < ApplicationController

  hobo_controller

  def index; end

  def summary
    if !current_user.administrator?
      redirect_to user_login_path
    end
  end

  def search
    query = params[:query]
    if query
      site_search(query)
    end
  end

end