```ruby
class ActivitiesController < MyplaceonlineController
  def model
    Activity
  end

  def display_obj(obj)
    obj.name
  end

  protected
    def sorts
      ["lower(activities.name) ASC"]
    end

    def obj_params
      params.require(:activity).permit(:name)
    end
end
```

Allow adding activity without password re-entry
user
```ruby
class ActivitiesController < MyplaceonlineController
  def model
    Activity
  end

  def display_obj(obj)
    obj.name
  end

  protected
    def insecure
      true
    end

    def sorts
      ["lower(activities.name) ASC"]
    end

    def obj_params
      params.require(:activity).permit(:name)
    end
end
```
assistant