Sha256: 9e4d70134d87b352f274b3583dd344949e5cedc46fe6830f97554fc6d5c46fe3

Contents?: true

Size: 184 Bytes

Versions: 11

Compression:

Stored size: 184 Bytes

Contents

class <%= class_name %>Controller < ApplicationController

  hobo_controller

  def index; end

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

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hobo-0.8.10 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.9 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.8 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.3 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.5 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.4 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.1 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.2 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.7 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8.6 rails_generators/hobo_front_controller/templates/controller.rb
hobo-0.8 rails_generators/hobo_front_controller/templates/controller.rb