Class: Backend::SequencesController

Inherits:
BaseController show all
Defined in:
app/controllers/backend/sequences_controller.rb

Instance Attribute Summary

Attributes inherited from ApplicationController

#current_theme

Instance Method Summary collapse

Methods inherited from BaseController

account_lettering_states_crit, accounts_range_crit, amount_range_crit, crit_params, journal_entries_states_crit, journal_letter_crit, journal_period_crit, journals_crit, search_conditions

Methods inherited from ApplicationController

#after_sign_in_path_for, #authorized?, human_action_name, #human_action_name, #session_controller?

Instance Method Details

#loadObject

Load missing sequences for current company


36
37
38
39
# File 'app/controllers/backend/sequences_controller.rb', line 36

def load
  Sequence.load_defaults
  redirect_to_back
end