Sha256: 885c6dfd045880ea7c5e90307959f28c3def5f5549ef07c40e2e24c862c9f5dc
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
class TestController < ActionController::Base def one render text: [action_name, request.format.to_sym].join(", ") end alias_method :two, :one alias_method :three, :one alias_method :four, :one def path_checking render text: optional_mobile_url end def redirect_checking redirect_to(optional_mobile_url) end def fixed_redirect_checking redirect_to(mobile_url(optional_mobile_url)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mobile-enhancements-0.0.3 | spec/internal/app/controllers/test_controller.rb |