routes.rb:
match 'first/#!/:name' => 'first#first'
first_controller.rb:
class FirstController < ApplicationController
def first
@name = params[:name]
end
end
But the @name variable is nil when I render the url: http://localhost:3000/first/#!/sayuj
Please help