title: ruby on rails route params in controller
body: <p>routes.rb:</p>
  
  <pre><code>match 'first/#!/:name' =&gt; 'first#first'
  </code></pre>
  
  <p>first_controller.rb:</p>
  
  <pre><code>class FirstController &lt; ApplicationController
    def first
      @name = params[:name]
    end
  end
  </code></pre>
  
  <p>But the <code>@name</code> variable is nil when I render the url: <a href="http://localhost:3000/first/#!/sayuj" rel="nofollow">http://localhost:3000/first/#!/sayuj</a></p>
  
  <p>Please help</p>