diff options
Diffstat (limited to 'app/controllers/profile_controller.rb')
-rw-r--r-- | app/controllers/profile_controller.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/controllers/profile_controller.rb b/app/controllers/profile_controller.rb deleted file mode 100644 index 30bd1a6b6..000000000 --- a/app/controllers/profile_controller.rb +++ /dev/null @@ -1,17 +0,0 @@ -class ProfileController < ApplicationController - before_action :set_account - - def show - end - - def entry - @entry = @account.stream_entries.find(params[:id]) - @type = @entry.activity_type.downcase - end - - private - - def set_account - @account = Account.find_by!(username: params[:name], domain: nil) - end -end |