On 23 April 2012 04:55, amvis <[email protected]> wrote: > ... > Thanks colin, thank you > when i compare this code with my application code, in the above code, before > doing all the method, the setup method will run, and set the variables, so > that can be accessed for all methods. But here i have one doubt, This is my > application structure..... > > -Myapp > > -Controller > ->pages_controller.rb > -View > -pages > ->page.html.erb > > class PagesController < ApplicationController > > def page > > end > > end > My doubt is if i display any variable(example is @name = vishnu) in > page.html.erb, i have to create one page action in PagesController..? or > any other way to access....?
Sorry, no idea what you mean. Colin -- 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.

