Sha256: b2ab839eb7e661fc71b2b5b5f66529280f189fbfafa116b03db88638e072f406
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 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 def mobile_to_desktop_path; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mobile-enhancements-0.0.5 | spec/internal/app/controllers/test_controller.rb |