Sha256: 3129d91772d4f3b09c388583eece5605d7dedac52c02dff8c57c80ee17b5adec
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
module C80Contest module ApplicationHelper def render_bid_form(bid) settings = Setting.first render :partial => 'c80_contest/shared/bid_form', :locals => { bid: bid, settings: settings } end def render_ok_message settings = Setting.first render :partial => 'c80_contest/shared/ok_message', :locals => { ok_text: settings.ok_text, ok_text_title: settings.ok_text_title } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
c80_contest-0.1.1 | app/helpers/c80_contest/application_helper.rb |