Displaying 2 results from an estimated 2 matches for "setup_delicious".
2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
...visited my site, and each time I visit, it keeps adding the same 6
bookmarks below the current 6. So, everytime you navigate throughout
the site, it adds 6 bookmarks to the last (but it''s the same list over
and over).
I have a function in my application.rb file that is called
"setup_delicious" and it does all of the api stuff, and gets the data
into my @delicious varible. Then, in each controller, I''m doing a
"before_filter :setup_delicious" so it will setup that variable for each
page I view.
Is there something wrong with this? Before I do anything in the...
2006 Jul 19
3
Trouble with links in the layout - Help
I''m trying to get my del.icio.us links to appear in the layout, so it''s
throughout the entire application. I have the interface to the API
working, I just don''t know where to put the code (in what controller?)
and layout to be application wide. I tried putting the code in
"application.rb" and then the view stuff in "application.rhtml" but that