Skip to content

Instantly share code, notes, and snippets.

View twestonkendall's full-sized avatar

T. Weston Kendall twestonkendall

View GitHub Profile
i still need to send the asset_id through.
show wants the asset_id because im not using a helper_method like current_user
@twestonkendall
twestonkendall / assets_controller.rb
Created November 27, 2012 21:45
trying to get wicked routes to work
...
if @asset.save
redirect_to team_asset_asset_steps_path(@team, @asset)
# redirect_to team_path(@asset.team), :notice => "Your media was saved."
else
...