search for: tiny_gallery

Displaying 1 result from an estimated 1 matches for "tiny_gallery".

2006 Feb 03
0
component/ajax variable access problem
...nd have it show the next image. When the page loads, it shows the correct image. But when clicking on it, it gives an error because it doesn''t know what @images is anymore. On the view for the home page: <div id="easel"><%= render_component(:controller => ''tiny_gallery/album'', :action => ''show_photo'', :params =>{:context=> :home }) %></div> Component Controller: class TinyGallery::AlbumController < ActionController::Base uses_component_template_root def show_photo case when params[:context] == :ho...