Jump to content

The ultimate community for Ruby on Rails developers.


Need to be enlighten with this problem

controller views

  • Please log in to reply
No replies to this topic

#1 kainzerdick



  • Members
  • 1 posts

Posted 08 May 2014 - 03:29 AM

Thanks for reading this thread I just downloaded the plugin Worktime for redmine and
I want to add some features. Here is the flow:

If the user clicked the WorkTime menu, the worktime will be displayed
and there will be a button that if you click it, it will then proceed to
another page.

here is my code in the controller:
def showall
  @eskietest = "test"

In my view:

 <%= @eskietest%>

So I expect that it will display "test" message but there is no display If I will change the code from

<%= @eskietest%> 


 <%= :eskietest%> 

 then the "test" message will appear. Please explain this to me why. Thanks again.

Also tagged with one or more of these keywords: controller, views

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users