Sha256: de4071fd47401ccfa7831576146c4d9e1a66f2125aabeb5a944a7d79480d7b78
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 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_rendering; end 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.4 | spec/internal/app/controllers/test_controller.rb |