Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parameters = {:controller => "cms/content_bucket",
- :action => action,
- :app_code => params[:app_code],
- :id => content_item_id,
- :only_path => true}
- parameters[:width] = width if !width.nil?
- parameters[:height] = height if !height.nil?
- url_for(parameters)
Add Comment
Please, Sign In to add comment