Sha256: c7c12d585d8400a7485e70ee653f44bb71c245e3b2fee5b16d2271af9a72d9fa

Contents?: true

Size: 291 Bytes

Versions: 5

Compression:

Stored size: 291 Bytes

Contents

class HomeController < ApplicationController

  respond_to_mobile_requests

  def index
  end

  def respond_to_test
    respond_to do |format|
      format.html   {render :action => "desktop"}
      format.mobile {render :action => "mobile"}
    end
  end

  def no_mobile_view

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mobylette-1.2.2 spec/dummy/app/controllers/home_controller.rb
mobylette-1.2.1 spec/dummy/app/controllers/home_controller.rb
mobylette-1.2.0 spec/dummy/app/controllers/home_controller.rb
mobylette-1.1.0 spec/dummy/app/controllers/home_controller.rb
mobylette-1.0.0 spec/dummy/app/controllers/home_controller.rb