54f4bd5144
Lots to tidy up but this is working
10 lines
308 B
Ruby
10 lines
308 B
Ruby
class TerminalsController < ApplicationController
|
|
def show
|
|
@events = Event.where(eventable: Current.user.accessible_cards, creator: Current.user).chronologically.reverse_order.limit(20)
|
|
end
|
|
|
|
def edit
|
|
@filter = Current.user.filters.from_params params.permit(*Filter::PERMITTED_PARAMS)
|
|
end
|
|
end
|