lib/avo/base_resource.rb in avo-3.0.1.beta17 vs lib/avo/base_resource.rb in avo-3.0.1.beta18
- old
+ new
@@ -318,10 +318,10 @@
end
def default_panel_name
return @params[:related_name].capitalize if @params.present? && @params[:related_name].present?
- case @view
+ case @view.to_sym
when :show
record_title
when :edit
record_title
when :new