Skip to content

eureo/cvtcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cvtcli

Installation

Add this line to your application's Gemfile:

gem 'cvtcli'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cvtcli

Usage

class CandidatesController < ApplicationController
  
  def update
    @candidate = current_candidate      
    if @candidate.update_attributes(params[:candidate])
      Cvtcli.sync(params[:candidate])
      redirect_to candidate_path(current_candidate), :notice => t('candidates.flash.updated')
    else
      @candidate.languages.build if @candidate.languages.size == 0
      render :edit
    end
  end

  def delete

  end
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages