No commit activity in last 3 years
No release in over 3 years
add a translate box at the bottom of page.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

ActsAsTranslatebox

Add a translate box at the page bottom for your rails project.

Author: Qichunren

How to use it?

 gem install acts_as_translatebox

In Gemfile

 gem "acts_as_translatebox" 

Then just use

  acts_as_translatebox

in your controller.

Example

    class PostsController < ApplicationController

    	acts_as_translatebox :only => ["index","show"]

      def index
      	@posts = Post.latest(5)
      end

      def new
      	@post = Post.new
      end

      def show
      	@post = Post.find(params[:id])
      end

    end

Demo

Copyright (c) 2009 [name of plugin creator], released under the MIT license