* VRFS-1130 - found issue where postback wasn't using ENV['RAILS_RELATIVE_URL_ROOT']
This commit is contained in:
parent
0fbd3543ca
commit
0300306e1d
|
|
@ -14,7 +14,7 @@
|
|||
%h3 Validations
|
||||
%p It should not be possible to create an invalid recording/track/mix/claim; there are a great deal of validations that will prevent you from doing something invalid. If you find otherwise, please fill out a JIRA .
|
||||
|
||||
= semantic_form_for([:admin, @recording], :html => {:multipart => true}, :url => @recording.new_record? ? admin_recordings_path : "/admin/recordings/#{@recording.id}") do |f|
|
||||
= semantic_form_for([:admin, @recording], :html => {:multipart => true}, :url => @recording.new_record? ? admin_recordings_path : "#{ENV['RAILS_RELATIVE_URL_ROOT']}/admin/recordings/#{@recording.id}") do |f|
|
||||
= f.semantic_errors *f.object.errors.keys
|
||||
= f.inputs name: 'Recording Fields' do
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ module JamAdmin
|
|||
# Activate observers that should always be running.
|
||||
config.active_record.observers = "JamRuby::InvitedUserObserver"
|
||||
|
||||
#config.assets.prefix = ENV['RAILS_RELATIVE_URL_ROOT'] || '/'
|
||||
config.assets.prefix = "#{ENV['RAILS_RELATIVE_URL_ROOT']}/assets"
|
||||
|
||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||
|
|
|
|||
Loading…
Reference in New Issue