app/controllers/tramway/admin/application_controller.rb in tramway-admin-1.32.1.4 vs app/controllers/tramway/admin/application_controller.rb in tramway-admin-1.32.2
- old
+ new
@@ -19,10 +19,10 @@
protect_from_forgery with: :exception
protected
def check_available!
- raise 'Model or Form is not available' if !model_given? && !form_given?
+ raise 'Tramway::Admin - Model or Form is not available' if !model_given? && !form_given?
end
def check_available_scope!
raise 'Scope is not available' if params[:scope].present? && !available_scope_given?
end