mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-24 19:51:38 -04:00
Changing UserRole to UserRoleJoin
Beware, this breaks the view for some reason
This commit is contained in:
@@ -53,7 +53,7 @@ class UserLogs < Netzke::Basepack::Grid
|
||||
bike_store = Bike.all.map { |b| [b.id, b.shop_id] }
|
||||
current_user ||= User.find_by_id(session[:selected_user_id]) || controller.current_user
|
||||
bike_id = current_user.bike.nil? ? nil : current_user.bike.id
|
||||
action_id = current_user.user_role.id
|
||||
action_id = ::ActsAsLoggable::UserAction.all.first.id
|
||||
[
|
||||
{ :name => :start_date},
|
||||
{ :name => :end_date},
|
||||
|
||||
Reference in New Issue
Block a user