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
didn’t work.

All of this code works fine - I just don’t know where to put it so that
it will show up in a layout that I can use across my application. Any
help on this???

Thanks!

ry an wrote:

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
didn’t work.

All of this code works fine - I just don’t know where to put it so that
it will show up in a layout that I can use across my application. Any
help on this???

Thanks!

Seems to be OK. Could u paste ur code?

Jean-Etienne wrote:

ry an wrote:

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
didn’t work.

All of this code works fine - I just don’t know where to put it so that
it will show up in a layout that I can use across my application. Any
help on this???

Thanks!

Seems to be OK. Could u paste ur code?

I got it. Forgot “before_filter :setup_delicious”. Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs