Hello all,
I confused about how to add HTML control like anchor tag <a></a> to
flash[:notice].
This is my code
flash[:notice]= "You are all ready subscribed to<a
href='#{show_subscription_path(@user)}'>#[email protected]_plan_id}</a>
service. Please <a href='#{unsubscribe_path(@user,
@subscription.id)}'>Unsubscribe</a> to create new subscription."
and shows output as ==>
You are all ready subscribed to<a
href='/businesses/bounce/subscriptions/'>premium_yearly</a> service.
Please <a
href='/businesses/bounce/subscriptions/unsubscribe/33'>Unsubscribe</a>
to create new subscription.
what is the correct way of doing this.
please suggest solution
thanks,
Vikas
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---