module ActionCrud::Helpers::Url
Public Instance Methods
edit_record_path(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 46 def edit_record_path(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :edit, options).path end
edit_record_url(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 53 def edit_record_url(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :edit, options).url end
new_record_path(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 32 def new_record_path(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :new, options).path end
new_record_url(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 39 def new_record_url(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :new, options).url end
record_path(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 4 def record_path(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :show, options).path end
record_url(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 11 def record_url(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :show, options).url end
records_path(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 18 def records_path(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :index, options).path end
records_url(*args)
click to toggle source
# File lib/action_crud/helpers/url.rb, line 25 def records_url(*args) options = args.extract_options! record = args.first ActionCrud::Helpers::Route.new(self, record, :index, options).url end