def create
      @keyword = Cmtool::Keyword.new(keyword_params)

      respond_to do |format|
        if @keyword.save
          format.html { redirect_to(cmtool.keywords_path, :notice => I18n.t('cmtool.action.create.successful', :model => Cmtool::Keyword.model_name.human)) }
          format.xml  { render :xml => @keyword, :status => :created, :location => @keyword }
        else
          format.html { render :action => "new" }
          format.xml  { render :xml => @keyword.errors, :status => :unprocessable_entity }
        end
      end
    end
def create
      @keyword = Cmtool::Keyword.new(keyword_params)

      respond_to do |format|
        if @keyword.save
          format.html { redirect_to(cmtool.keywords_path, :notice => I18n.t('cmtool.action.create.successful', :model => Cmtool::Keyword.model_name.human)) }
          format.xml  { render :xml => @keyword, :status => :created, :location => @keyword }
        else
          format.html { render :action => "new" }
          format.xml  { render :xml => @keyword.errors, :status => :unprocessable_entity }
        end
      end
    end
POST /keywords
 POST /keywords.xml