# Log time button
get '(/projects/:project_id)(/issues/:issue_id)/time_entries/new', to: 'easy_time_entries#new', as: :new_easy_project_com_time_entry
match 'easy_project_com/time_entries', to: 'easy_time_entries#save', via: [:post, :patch]
get '/time_entries/load_users.:format', to: 'easy_time_entries#load_users'
get '/time_entries/load_assigned_projects.:format', to: 'easy_time_entries#load_assigned_projects'
get 'time_entries/load_assigned_issues.:format', to: 'easy_time_entries#load_assigned_issues'
get 'time_entries/load_fixed_activities.:format', to: 'easy_time_entries#load_fixed_activities'

# Onboarding
match 'my/onboard', to: 'easy_invited_colleagues#onboard', via: [:get]

# Trial expiration
post 'easy_trial_expiration/deactivate_entities', to: 'easy_trial_expiration#deactivate_entities', as: 'easy_trial_expiration_deactivate_entities'
get 'easy_trial_expiration/deactivate_entities_modal', to: 'easy_trial_expiration#deactivate_entities_modal', as: 'easy_trial_expiration_deactivate_entities_modal'
post 'easy_trial_expiration/activate_entities', to: 'easy_trial_expiration#activate_entities', as: 'easy_trial_expiration_activate_entities'
get 'easy_trial_expiration/activate_entities_modal', to: 'easy_trial_expiration#activate_entities_modal', as: 'easy_trial_expiration_activate_entities_modal'
get 'easy_trial_expiration/project_limit_exceeded', to: 'easy_trial_expiration#limit_reached', as: 'easy_trial_expiration_limit_reached'
get 'easy_trial_expiration/projects', to: 'easy_trial_expiration#projects', as: 'easy_trial_expiration_projects'

# Imports
get 'easy_imports/index', to: 'easy_imports#index', as: 'easy_imports'
get 'easy_imports/download_sample_file', to: 'easy_imports#download_sample_file', as: 'easy_imports_download_sample_file'
get 'easy_imports/help/:help', to: 'easy_imports#help', as: 'easy_imports_help'
post 'easy_imports/import', to: 'easy_imports#import', as: 'easy_imports_import'
