seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.49k stars 996 forks source link

"Show" button added to index files #902

Closed abdurrehmanamjad closed 8 years ago

abdurrehmanamjad commented 8 years ago

Hi, In normal rails scaffolding we have three action buttons on index page, which are show, edit, destroy.

In twitter bootstrap gem we only had edit and destroy, so whenever I themed any of my resource, the show button disappears because in generators show button is not added.

I have added just 3 lines for that specific show button, so that the scaffold resource can be themed as per rails scaffolding standard buttons.

I hope this will help the developers.

Kind regards, Hafiz Abdur Rehman

seyhunak commented 8 years ago

@abdurrehmanamjad can you please check build status?

abdurrehmanamjad commented 8 years ago

Hi @seyhunak , yes my one commit is buggy, I am closing this request and will make a new clean pull request. Thanks.