--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: True if the current request URI was generated by the given <tt>options</tt>.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::P 
  body: Let's say we're in the <tt>/shop/checkout?order=desc</tt> action.
- !ruby/struct:SM::Flow::VERB 
  body: "  current_page?(:action =&gt; 'process')\n  # =&gt; false\n\n  current_page?(:controller =&gt; 'shop', :action =&gt; 'checkout')\n  # =&gt; true\n\n  current_page?(:controller =&gt; 'shop', :action =&gt; 'checkout', :order =&gt; 'asc)\n  # =&gt; false\n\n  current_page?(:action =&gt; 'checkout')\n  # =&gt; true\n\n  current_page?(:controller =&gt; 'library', :action =&gt; 'checkout')\n  # =&gt; false\n"
full_name: ActionView::Helpers::UrlHelper#current_page?
is_singleton: false
name: current_page?
params: (options)
visibility: public
