Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Just a test for now...
- This is in application.rhtml
- <%= "<div class=\"" + @the_pages[0][2] + "\" >
- <b class=\"scs\">
- <b class=\"scs1\"><b></b></b>
- <b class=\"scs2\"><b></b></b>
- <b class=\"scs3\"></b>
- <b class=\"scs4\"></b>
- <b class=\"scs5\"></b>
- </b> <div class=\"tabContent selected\">
- <a href=\"/welcome\">Welcome</a>
- </div>
- </div>"
- %>
- This is application.rb
- class ApplicationController < ActionController::Base
- @the_pages = [ [ "Welcome", "/welcome", "ltab" ]]
- end
Add Comment
Please, Sign In to add comment